import Data.Bool main = readLn >>= putStrLn . bool "X" "O" . (\x -> if x==1 || even x then True else False)