n = int(input())

fibo_1 = 0
fibo_2 = 1
name = ['o' for i in range(n)]
index = 1

while index < n:
    if index == fibo_2:
        name[index - 1] = 'O'
        index += 1
    elif index > fibo_2:
        while fibo_2 < index:
            fibo_1, fibo_2 = fibo_2, fibo_1 + fibo_2
    else:
        index += 1

print(''.join(name))
