import sys
n=int(raw_input())

fib=[]
last=1
l=2
fib.append(1)
fib.append(1)
while(last<n):
	fib.append(fib[l-1]+fib[l-2])
	l=l+1
	last=fib[l-1]

for i in range(1,n+1):
	if(i in fib):
		sys.stdout.write('O')
	else:
		sys.stdout.write('o')	