n=int(input())

if n==1:
    print('O')
else:
    ch='OO'
    l=[1,1]
    for i in range(2,n):
        l.append(l[i-2]+l[i-1])
        
    
    
    for i in range(3,n+1):
        for j in range(n):
            c=0
            if l[j]==i:
                ch=ch+'O'
                c=1
                break
            if (l[j]>i and c==0) or (l[n-1]<i and c==0):
                ch=ch+'o'
                break
    
    print(ch)    

