def answer():
    a=int(input())
    fib=[1,1]
    
    i=1
    a_out=""
    while i<=a:
        if i==fib[1]:
            temp=fib[1]
            fib[1]+=fib[0]
            fib[0]=temp
            a_out+="O"
        else:
            a_out+="o"
        
        i+=1
    print(a_out)
answer()