n=int(input())
a=1
b=1
flag=0
y=0
x=[]
x.append(1)
x.append(2)
for i in range(0,1000):
	y=a
	a=b
	b=y+b
	x.append(b)
	if(b>1000):
		z=i
		break
for j in range(0,n):
	for k in range(0,z):
		if((j+1)==x[k]):
			flag=1
			break
	if(flag==1):
		print("O",end="")	
		flag=0
	else:
		print("o",end="")
	
