fibonacci = []
n1 = 0; n2 = 1
for i in range(17):
    fibonacci.append(n1 + n2)
    n1 = n2
    n2 = fibonacci[i]

x=int(input())
for i in range(1,x+1):
    if i in fibonacci:
        print("O",end="")
    else:
        print('o',end="")
