n = int(input())
F = [0]*(n+5)
F[0] = 1
F[1] = 1
for i in range(2, n+5):
    F[i] = F[i-1]+F[i-2]
F = set(F)
res = []
for i in range(1, n+1):
    if i in F:
        res.append('O')
    else:
        res.append('o')
print(''.join(res))
