solucao final