a = input() if (int(a) % 2)==0: print("O") else: print("X")