n=int(input())
a=[]
t=2
while(True):
   	if len(a)==0:
   		a.append(1)
   	elif(len(a)==1):
   		a.append(1)
   	else:
   		a.append(a[t-2]+a[t-1])
   		if(a[t]>n):
   			break
   		t+=1
x=''
for i in range(1,n+1):
	if i in a:
		x+='O'
	else:
		x+='o'
print(x)