# The winner of the CodeFu Seasonal 2008 Autumn is Nikola Postolov

Congratulations to npostolov who solved all 5 problems in 1 hour 45 minutes.
Congratulations to toroman who also solved all 5 problems in 1 hour 53 minutes.

## The winner of the second iPod, choosen randomly is Vladimir Trajkovski

The random winner of the second iPod is choosen with the algorythm below
2 * 2 + 19 * 5 + 28 * 8 + 42 * 11 + 49 * 13 = 1422
1422 % 34 + 2 = 30
Position 30 in the predefined list is user vl4d1m1r4.

In order to be transparent with the choice, the following algorithm will be used:

• 5 numbers will be taken from the Euro Millions Lottery 12th of December draw
• You can see the numbers here
• Those 5 numbers will be sorted
• Then multiplied with the following factors: 2 for the smallest number, 5, 8, 11 and 13 for the biggest number, and then a total sum calculated
• Note: The factors: 2, 5, 8, 11, 13 are chosen so that there is a smallest deviation among all possibilities, i.e. all positions have the same (or very close) possibility for being a winner
• The total sum will be cut modulo 34 and then added 2 (to get a range of 2-35, these are the competitors eligible for the prize)
• Example
Lottery numbers from the last week were 4, 8, 21, 35, 45
4 * 2 + 8 * 5 + 21 * 8 + 35 * 11 + 45 * 13 = 1186
1186 % 34 + 2 = 32 This means the person with number 32 (this is still an example) would receive the random iPod

The position numbers are:

2 toroman
3 palikrushev
4 igorkulev
5 dsmilkov
6 KrvaviZmaj
7 Zlate87
8 hsilomedus
9 dragan.nikolov
10 vasja
11 diki
12 Ilija139
13 denimf
14 cyb3rc0re
16 martinancevski
17 deki
18 tomazi
20 kamikaza
21 marjangeorgiev
22 domenica
23 delpfine
24 diverge