n=int(input())
d=1
l=[1,1]
i=2
a=l[1]
while(True):
    a=l[i-2]+l[i-1]
    if(a<=1000):
        l.append(a)
    else:
        break
    i=i+1
for i in range(1,n+1):
    if i in l:
        print("O",end="")
    else:
        print("o",end="")
