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