def fib(n,fiblist):
    f1,f2,fib=1,1,0
    fiblist.append(f1)
    if n>1:
        fiblist.append(f2)
    for i in range(2,n):
        fib=f1+f2
        f1=f2
        f2=fib
        fiblist.append(fib)
    return fiblist
n,lis=long(input()),[]
lis=fib(n,lis)
elv_name=""
for i in range(n):
    if (i+1) in lis:
        elv_name+='O'
    else:
        elv_name+='o'
print "{}".format(elv_name)