from math import *
#s=['toc','c++','c','cse',"lol",'c','c++']
#s.append("hi")
#s.insert(2,"ki")
#s.remove("toc")
#s.sort()
#s.reverse()
#s.pop()
#s2=s.copy()
#k=s.index('c')
#k=s.count('cse')
#k=list(range(1,n))
#print(n[2])
#print(s2)
n=int(input())
a=2
b=1
print("O",end='')
for i in range(2,n+1):
	if i==a:
		print('O',end='')
		c=a
		a=a+b
		b=c
	else:
		print('o',end='')
	i+=1
'''
a={1,2,3,4,5}
b=set([4,5,6,7,8])
a.add(6)
if 4 in a:
	print('false')
print(a)
print(a|b)
print(a&b)
print(a-b)
'''
