import sys

def fibs(n):
    a, b = 1, 1
    out = set()
    while b <= n:
        out.add(b)
        a, b = b, a + b
    return out

def main():
    n = int(sys.stdin.read().strip())
    s = n*['o']
    for i in fibs(n):
        s[i-1] = 'O'
    return s
        
print(*main(), sep='')
