Domanda di colloquio di Angular Minds

Print the numbers from the array whose sum is equal to 10."