n = input()
fib = [1,1]
l = [0]*1001
for i in range(14):
    fib.append(fib[-1] + fib[-2])
for i in fib:
    l[i - 1] = 1
s = ""
for i in range(n):
    if l[i] == 0:
        s += 'o'
    else:
        s += 'O'
print(s)