from math import sqrt


def is_fibonacci(n):
    phi = 0.5 + 0.5 * sqrt(5.0)
    a = phi * n
    return n == 0 or abs(round(a) - a) < 1.0 / n


def new_name(number):
    name = list()
    for i in range(1, number + 1):
        if is_fibonacci(i):
            name.append('O')
        else:
            name.append('o')
    return ''.join(name)


m = int(input())
print(new_name(m))
