local n = io.read("*n") if n % 2 == 0 then print("O") else if n % 4 == 1 then print("O") else print("X") end end