n=int(input())
l=[1,1]
a=l[0]
b=l[1]
sum1=0
for i in range(n-2):
    sum1=a+b
    l.append(sum1)
    a=b
    b=sum1
l.append(0)    
s=""
for i in range(1,n+1):
    if i in l:
        s=s+"O"
    elif i not in l:
        s=s+"o"
print(s)        