n = input()
n = int(n)
Ans = []
for i in range(0, n):
    Ans.append('o')
fib = [0, 1, ]
for i in range(2, 15):
    fib.append(fib[i - 1] + fib[i - 2])
    if (fib[i] <= n):
        Ans[fib[i] - 1] = 'O'
print(''.join(Ans))
