n=int(input())
if(n>2):
    fib=[0]*1000
    fib[0]=1
    fib[1]=1
    for i in range(2,1000):
        fib[i]=fib[i-1]+fib[i-2]
    ans=[]
    
    for i in range(1,n+1):
        if i in fib:
            ans.append("O")
        else:
            ans.append("o")
    
    print("".join(ans))
elif(n==1):
    print("O")
else:
    print("OO")
        
