from sys import stdin 
a = ['o'] * 1005
fib = [1,1]
for i in xrange(45):
    fib.append(fib[-1]+fib[-2])
for i in xrange(1001):
    if i in fib:
        a[i] = 'O'
n = int(stdin.readline())
ans = ''
for i in xrange(1,n+1):
    ans += a[i]
print ans