Jeremy, Kevin and Evan have 40 marbles each. They all take turns to roll a dice.
If a number is rolled even, then that player has to give double that number of marbles to each of the other players. If the number is rolled odd, then that player gives that number of marbles to each of the other players.
Jeremy rolls a 4 and Evan rolls a 5.
The friends end up with 32, 47 and 41 marbles respectively.