# cook your dish here
n=int(input())
a=1
b=1
c=[]
for i in range(1,n+1):
    d=a+b
    c.append(d)
    if(i==1 or i in c):
        print("O",end='')
    else:
        print("o",end='')
    a=b
    b=d