n = int(raw_input())
fibos = [1, 1]
while fibos[-1] < 1000:
    fibos.append(fibos[-1] + fibos[-2])
name = ['o'] * n
for fib in fibos:
    if fib > n:
        break
    name[fib - 1] = 'O'

print ''.join(name)
