#import sys
#sys.stdin = open("input.in","r")
#sys.stdout = open("test.out","w")
n = int(input())
a=1
b=1
for i in range(1,n+1):
	if i==a:
		print('O', end = '')
		m= b
		b=a
		a+=m
	else:
		print('o', end = '')