
from sys import stdin
lines = stdin.readlines()

n = int(lines[0])
def fib(x):
    f = [1,1]
    result = ""
    while f[-1] <=x:
        f.append(f[-1]+f[-2])
    for i in range(1,x+1):
        if i in f:
            result += "O"
        else:
            result += "o"
    return result
print fib(n)