fib=[0]*1001
fib[0],fib[1]=1,1
f=[False]*20001
f[1]=True
for i in xrange(2,17):
    fib[i]=fib[i-1]+fib[i-2]
    #print fib[i]
    f[fib[i]]=True

n=int(raw_input())
s=""
for i in xrange(1,n+1):
    if f[i]==True:
        s+='O'
    else:
        s+='o'
print s
