Array Game Codeforces Solutions In Python