n=int(input())
nc=n

c=0
s=''
a=1
b=1
l=[]
l.append(1)
while(c<=1000):
    c=a+b
    a=b
    b=c
    l.append(c)

for i in range(nc):
    if i+1 in l:
        s+='O'
    else:
        s+='o'
print(s)
