import sys

fibList = []
def fib(n):
    first = 1
    second = 1
    nxt = 0
    for i in range(0, n):
        nxt = first + second

        fibList.append(first)
        first = second
        second = nxt

n = input()
fib(n)
for value in range(1, n+1):
    if value in fibList:
        sys.stdout.write("O")
    else:
        sys.stdout.write("o")
