n = input()

b = ""

def F(n):
    if n == 0: return 0
    elif n == 1: return 1
    else: return F(n-1)+F(n-2)

list = []    

for i in range(1,20) :
    list.append(F(i))

for j in range(1, n+1) :
    if j in list :
        b = b + 'O'
    else :
        b = b + 'o'
        
print b


