import sys

n = sys.stdin.readline()

n = int(n)

def fib(n):
    if n == 0:
        return [0]
    elif n == 1:
        return [0, 1]
    else:
        lst = fib(n-1)
        lst.append(lst[-1] + lst[-2])
        return lst
f = fib(20)

if n == 1:
    print 'O'
if n == 2:
    print 'OO'

if n > 2:
    ans = 'OO'
    for x in range(3, n+1):
        if x in f:
            ans += 'O'
        else:
            ans += 'o'

    print ans
