def fib(n):
    if n==0 or n==1:
        return True
    a=0
    b=1
    c=0
    while c<=n:
        if c==n:
            return True
            break
        c=a+b
        a=b
        b=c
    else:
        return False
n=int(input())
for i in range(n):
    if fib(i):
        print('O',end="")
    else:
        print('o',end="")
        