# coding: utf-8 N = int(input()) if N == 3: print("X") else: print("O")