# import sys
# sys.stdin=open('input.in','r')
# sys.stdout=open('output.out','w')
n=int(input())
x1=1
x2=2
k=0
for x in range(1,n+1):
	if x==1 or x==2:
		print('O',end='')
	else:
		k=x1+x2
		if k==x:
			print('O',end='')
			x1=x2
			x2=k
		else:
			print('o',end='')
#OOOoOooOooooOoo