Problem 4. Three friends, Marko, Goce, and Dime, won 1000000 denars in Bingo. If when buying the ticket, Marko gave 15 denars, Goce 16 denars, and Dime 19 denars, how will the three friends fairly divide the winnings?
Solution. The cost of the Bingo ticket is $15+16+19=50$ denars. Then for each invested denar in the purchase of the ticket, one gets

$$
1000000: 50=20000 \text { denars. }
$$

So Marco will win $15 \cdot 20000=300000$ denars, Goce $16 \cdot 20000=320000$ denars, and Dime $19 \cdot 20000=380000$ denars.