n = int(input())
f1 = 1
f2 = 1
fib = [0]*(n+1)
while f2<=n:
    fib[f2] = 1
    temp = f1
    f1 = f2
    f2 += temp
# print(fib) 
res = ''
for i in range(1,n+1):
    if fib[i]==1:
        res += 'O'
    else:
        res += 'o'
print(res)

    