# -*- coding: utf-8 -*-

def fib(max_val):
    a, b = 0, 1
    while b <= max_val:
        yield b
        a, b = b, a + b


n = int(raw_input())
big = set(fib(n))
print "".join("O" if i in big else "o" for i in xrange(1, n + 1))
