n1=0
n2=1
string=""
n=int(input())
count=0
nth=""
listi=[]
if(n==1):
    listi.append(1)
elif(n==2):
    listi.append(1)
    listi.append(2)
    
else:
    while(count<n):
        listi.append(n1)
        nth=n1+n2
        n1=n2
        n2=nth    
        count+=1
name=""
for i in range(0,n):
    if(i+1 in listi):
        name+="O"
    else:
        name+="o"
        
print(name)  