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())
n=n+1
for i in range(1,n):
            if(isFibo_or_not(i)==True):
                        print("O",end="")
            else:
                        print("o",end="")