Game
I was trying to solve this problem today on codeforces but I was unable to find the logic behind winning the game. Can someone please help me with the approach to this problem? Thanks in advance!