from sys import stdin, stdout

n = int(stdin.readline())
ans = 'o' * n
fib = [1, 1]

while fib[-1] < n:
    fib.append(fib[-1] + fib[-2])

ans = list(ans)
for v in fib:
    if v <= n:
        ans[v - 1] = 'O'

stdout.write(''.join(ans))