n = int(input())
f = [0] * (n + 228)
f[1] = 1
f[2] = 1
ok = [0] * (n + 228)
ok[1] = 1
for i in range(3, n + 1):
    f[i] = f[i - 1] + f[i - 2]
    if (f[i] > n):
        break
    ok[f[i]] = 1
for i in range(1, n + 1):
    if (ok[i]):
        print('O', end='')
    else:
        print('o', end='')