n=int(input())
fib=[None]*1000
fib[0]=0
fib[1]=1
for i in range(2,1000):
    fib[i]=fib[i-1]+fib[i-2]
    
res=''
for i in range(1,n+1):
    if i in fib:
        res+='O'
    else:
        res+='o'
print(res)