import math

def ifPerfectSquare(x):
    s = int(math.sqrt(x))
    return s*s==x

def isFibo_or_not(n):
    return ifPerfectSquare(5*n*n+4) or ifPerfectSquare(5*n*n-4)

n = int(input())
for i in range(n):
    if(isFibo_or_not(i)==True):
        print("O",end="")
    else:
        print("o",end="")