n=int(input())
l=[0]*1001
b=[0]*1001
b[1]=1
b[2]=1
l[1]=1
l[2]=1
i=2
x=0
while(x<=1000):
	x=l[i-1]+l[i-2]
	l[i]=x
	if x<=1000:
		b[x]=1
	else:
		break
	i=i+1
for i in range(1,n+1):
	if b[i]==1:
		print('O',end='')
	else:
		print('o',end='')
