def fib(n, memo = {}):
    if n <= 1:
        return 1
    elif n in memo:
        return memo[n]
    else:
        memo[n] = fib(n - 2, memo) + fib(n - 1, memo)
        return memo[n]

n = int(input())
memo = {1: 1, 2: 1}
f = fib(n, memo)
values = memo.values()
s = ""
for i in range(1, n + 1):
    if i in values:
        s += "O"
    else:
        s += "o"

print(s)
