n=int(input())
def f(n):
    if n==1 or n==2:
        return 1
    return f(n-1)+f(n-2)
i=2
p=[]
while f(i)<=n:
    p.append(f(i))
    i+=1
x=''
for i in range(n):
    if i+1 in p:
        x+='O'
    else:
        x+='o'
print(x)
