x = [1,1]
def fib(n):
	for i in range(n):
		x.append(x[-1] + x[-2]) 
n = int(input())
fib(16)
for i in range(1,n+1):
	count = 0
	for j in range(16):
		if x[j]==i:
			count = 1
			break
	if count==1:
		print('O',end='')
	else:
		print('o',end='')
			
	