n = int(input())
dp = []
a,b = 1,1
for i in range(1000):
    x = a + b
    dp.append(a)

    a = b
    b = x

for i in range(1,n+1):
    if i in dp:
        print('O',end='')
    else:
        print('o',end='')