n=int(input())
z=""
list1=[] 
fib1=1
list1.append(fib1)
fib2=1
list1.append(fib2)
for i in range(2,n+1):
    fib3=fib1+fib2
    list1.append(fib3)
    fib1=fib2
    fib2=fib3
for i in range(1,n+1):
    if(i in list1):
         z=z+"O"
    else:
        z=z+"o"
print(z)
        
    