n = int(input())

fib = [1, 1]
f = set()
while fib[0] <= n:
    f.add(fib[1])
    fib = fib[1], fib[0] + fib[1]

ans = ""
for i in range(1, n + 1):
    if i in f:
        ans += "O"
    else:
        ans += "o"
print(ans)