I was trying to solve GAMEMVShttp://www.spoj.com/problems/GAMEMVS/ question but getting wrong answer.approach is:as per nim game theory,everything depends on number of moves.but for test case :51 2 3 4 5how ans is 3 ??