def arrFib(n):
    res=[]
    p=0
    c=1
    for i in range(n):
        res+=[c]
        c,p=c+p,c
    return res
r=''
n=int(input())
t=arrFib(n)
for i in range(1,n+1):
    if i not in t:
        r+='o'
    else:
        r+='O'
print(r)
