using System; public class Solution { public static void Main() { var n = long.Parse(Console.ReadLine()); Console.WriteLine((n % 2 == 0 || ((n * n + 1) % 2) == 1) ? "O" : "X"); } }