n = int(input())
F = [0] * (n + 1)
a = 1
b = 1
while b < (n + 1):
    F[b] = 1
    a, b = b, a + b
ans = ''
for i in range(1, n + 1):
    if F[i] == 1:
        ans += 'O'
    else:
        ans += 'o'
print(ans)

