# The winner of the CodeFu 2014 Round 1 is Gorgi Janceski

## The winner of the second Nexus 7 is Gorjan Zajkovski

The calculation for the random Nexus 7 is (13 * 2 + 15 * 5 + 20 * 8 + 24 * 11 + 46 * 13) % 116 + 2 = 81

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

• 5 numbers will be taken from the Euro Millions Lottery 22nd of April 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 116 and then added 2 (to get a range of 2-117, these are the competitors eligible for the prize)
• Example
Lottery numbers from a previous draw were 3, 14, 26, 47, 50
3 * 2 + 14 * 5 + 26 * 8 + 47 * 11 + 50 * 13 = 1451
1451 % 116 + 2 = 61  This means the person with number 61 (this is still an example) would receive the random iPod

The position numbers are:

2 bojanserafimov
3 jovank
4 Goran1
5 yoyoyoman
6 ppetrov
7 Natasha
8 kujta1
9 NeSumHaker
10 amijoski
12 sonne
13 NiVeR
14 DruiDAlek
15 FILOZOF
16 T1T4N
18 hxbageski
19 tStojkovski
20 VikiP
21 zigfrid
22 vasilmkd
23 iksedmo
24 schkolski
25 MTrajk
26 pali_gasi
27 Boki
29 nkolev
30 Scentini
31 Kjosev
32 KGB
33 Imaginary
34 stevicabozinoski
35 filipbitola
36 Spejs
37 Awesomeness
38 GROBARKO
39 viktorpetrovski
40 genius_mkd
41 jotomo
42 acker
43 stojkowski
44 Ilija139
46 jillzz
47 nakamoto
48 ombia
49 gjurovski
50 smicevska
51 mico
52 Davd
53 shupa
54 wodahs
55 AleksovskiStefan
56 MrInF3ction
57 Txe
58 Nikola
59 txecasual
60 Goce_pp
61 ivanstojanov1990
62 statik
63 timov
64 jovanovski
65 LosT_in_SpaCe
66 roberto
67 IlijaNikolovski
68 ThresherMaw
69 Otaku
70 TaseskiA
72 R2D2
73 Tallulah
74 kiko1991
75 vavio
76 i_arsovski
77 unknownPlayer
78 hristijanveselinoski
79 mboncanoski
80 naim
81 GorjanZ
82 CroMkd
83 dekob_
84 kosta984
85 mmducmanhmm
86 chessmaster
87 darko_b
88 SharkTheDJ
89 haris
90 trajches
91 mmK
92 KMeN
93 damjangelovski
94 Solev
95 Granga
96 Gjorgji
97 Krcko
98 despotovski01
99 Dragan_Angelovski
100 Lepluto
101 sajd
102 Whathell
103 toteto
104 Leon123454321
105 Fisher
106 Mirage
107 marinailioska
108 Gogo_20
109 biljanaristovska
110 theoneice
111 scmakru
113 husejn_rm
114 alek9
115 Labro
116 ljupce01
117 viktor11