
n = int(input())

fib = [0, 1]
k = 1
m = 1

while fib[m] < n:

    l = fib[m] + fib[m - 1]
    fib.append(l)
    m += 1

for x in range(1, n+1):

    if x in fib:
        print("O", end="")
    else:
        print("o", end="")



