Problema 8 resolvido