#yuki_524 n=int(raw_input()) if n%4==3: print'X' else: print 'O'