Crie uma função que substitua "the" na frase por "an" ou "a". Lembre-se de que, se a próxima palavra começar com uma vogal, use "an". Se começar com uma consoante, use "a".
replaceThe("the dog and the envelope") ➞ "a dog and an envelope"
replaceThe("the boy ran at the wall") ➞ "a boy ran at a wall"
replaceThe("the egg, the spoon and the espionage") ➞ "an egg, a spoon and an espionage"