using System; public class Solution { public static void Main() { var n = long.Parse(Console.ReadLine()); var bit = 0; for(int i = 1; i<= n;i++) { bit ^= i; } Console.WriteLine((bit == 0) ? "X" : "O"); } }