from collections import defaultdict as df
fib = df(int)

a = 1
b = 1
fib[a] = 1
fib[b] = 1

c = a+b
while c<=1010:
    fib[c] = 1
    a = b
    b = c
    c = a+b

n = int(raw_input())
s = ''
for i in range(1,n+1):
    if fib[i]:
        s += 'O'
    else:
        s += 'o'

print s
