# The winner of the CodeFu 2018 Round 1 is Aleksandar Despotovski

## The winner of the second tablet is Kristijan Postolov

The calculation for the random tablet is (3 * 2 + 16 * 5 + 25 * 8 + 39 * 11 + 44 * 13) % 60 + 2 = 29

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

• 5 numbers will be taken from the Euro Millions Lottery 20th 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 60 and then added 2 (to get a range of 2-61, these are the competitors eligible for the prize)
• Example
Lottery numbers from a previous draw were 4, 13, 30, 34, 47
11 * 2 + 14 * 5 + 15 * 8 + 27 * 11 + 44 * 13 = 1081
1081 % 60 + 2 = 3 This means the person with number 3 (this is still an example) would receive the tablet

The position numbers are:

2 iletavcioski
3 Dekacc
4 Scentini
5 SimpleMind
6 vasja
7 nakamoto
8 exe
9 ppetrov
10 kikokolev
12 ktz
14 Denis
15 Boki2110
16 Baltazar
17 BookHouseEffect
18 AleksovskiStefan
19 Sstefanovski
20 ljupche98
21 vasilmkd
22 josiftepe
23 wawa
24 MTrajk
25 weirdone
26 Alokin24
27 zarya
28 gjorgjinac
29 playmid
30 kujta1
31 Suvorov
32 Filip00
33 toli
35 darijan2002
36 fdespotovski
37 mvren
38 cava
39 fspasovski
40 ivan32c
41 hristijanveselinoski
42 voietimid
43 KosevaM
44 krooll
45 Sentient6
46 stevo
47 dime_galev
48 stojan97
49 i_arsovski
50 NVelichkovski
51 s_kotevski
52 Pakster
53 RobertS
54 zaitsev
55 FK
56 StefanA
57 ReaLNero
58 Stefanija_Trajkova
59 ilijev07
60 chip
61 mariomako