n = int(input())

fib = [1, 1]

def is_fib(i):
    global fib
    if i in fib:
        fib = fib[1], fib[0]+fib[1]
        return True
    return False

name = ''
for i in range(1, n+1):
    name += 'O' if is_fib(i) else 'o'

print(name)