'''input
15
'''
import sys
n = input()
st = ['o']*n
if n == 1:
    print "O"
    sys.exit(0)
o = 1
t = 1
st[0] = 'O'
st[1] = 'O'
for i in range(100):
	th = o+t
	if th > n:
		break
	else:
		st[th-1] = 'O'
	o = t
	t = th
print ''.join(st)