#!/usr/bin/python2 # -*- coding: utf-8 -*- # † n = int(raw_input()) if n % 4 == 3: print 'X' else: print 'O'