# Q1
import array
n = int(input())

fib = array.array('I',[1,1])
name = array.array('u','OO')

for i in range(2,n):
    if fib[i-1]>n:
        break
    fib.append(0)
    fib[i] = fib[i-1]+fib[i-2]
    name.extend(['o']*(fib[i]-fib[i-1]-1)+['O'])

print("".join(list(name[1:n+1])))