One more weird game

Problem Name:
One more weird game
Site:Spoj
Links:
Tags:
Problem setters: