n=int(input())
a=[1,1]
t=1
p=1
t1=2
while p+t<=n:
    a.append(a[t1-1]+a[t1-2])
    t1+=1
    t=p
    p=a[t1-1]+a[t1-2]
m=''
a.append(p)
for i in range(1,n+1):
    if i in a:
        m+='O'
    else:
        m+='o'
print(m)
