ar=[0]*1000
ar[0]=0
ar[1]=1
ar[2]=1
for i in range(3,1000):
    ar[i]=ar[i-1]+ar[i-2]
#print(ar)
n=int(input())
s=''
for i in range(n):
    if (i+1) in ar:
        s+='O'
    else:
        s+='o'
print(s)

    
    