main=putStrLn.(\x->if mod x 4==3 then "X" else "O")=<