n=int(input())
A=[]
A.append(0)
A.append(1)
for i in range(2,n+1):
    A.append(A[i-2]+A[i-1])
if n==2:
    print('OO')
else:
    for i in range(1,n+1):
        if i in A:
            print('O',end="")
        else:
            print('o',end="")