kol = int(input())
li = []


fib1 = fib2 = 1
if kol < 2:
    quit()
while fib2<=kol:
    fib1, fib2 = fib2, fib1 + fib2
    li.append(fib1)


name = ''
for i in range(1,kol+1):
    if i in li:
        name+='O'
    else:
        name+='o'

print(name)
