#! /usr/bin/env python3 N = int(input()) if N != 3: print('O') else: print('X')