n=int(input())
fib=[]
for i in range(n+1):
    fib.append(0)
fib[0]=1
fib[1]=1
i=2
while i<=n:
    fib[i]=fib[i-1]+fib[i-2]
    i+=1
tot=''
for i in range(1,n+1):
    if i in fib:
        tot+='O'
    else:
        tot+='o'
print(tot)
