5
777 313 465 99 1
in the test above, how Daenerys can win ??? While we can divide:
#Daenerys 777 -> 3 heaps (259)
- 313 -> can't divide
#Stannis 465 -> 3 heaps (155)
#Daenerys 99 -> 3 heaps (33)
#Stannis 33 -> 3 heaps (11)
- 1 -> can't devide
==> Stannis is the winner
99 / 3 = 33
we put 33 3 times in array and can make a move
and others too