fib = [1,1]
i = 0
t = 1
count = 0
while count < 20:
    fib.append(fib[i]+fib[t])
    i += 1
    t += 1
    count += 1
n = int(input())
name = []
for i in range(1,n+1):
    if i in fib:
        name.append('O')
    else:
        name.append('o')
print(''.join(name))

