def fibo(n):
    if n==0:
        return 0
    if n==1:
        return 0
    l=[]
    f=0
    s=1
    t=f+s
    l.append(f)
    l.append(s)

    for i in range(2,n):
        f=s
        s=t
        t=f+s
        l.append(t)
    
    return l


n= int(input())

fibs= fibo(n)
ans=''
if n==1:
    print('O')
elif n==2:
    print('OO')
elif n==3:
    print('OOO')
else:    
    for i in range(1,n+1):    
        if i not in fibs:
            ans+='o'
        else:
            ans+='O'
    
    print(ans)
