Crie uma função que substitua todas as ocorrências de "nts" por "nce" e vice-versa quando estiverem no final de uma palavra.
switcheroo("The elephants in France were chased by ants!") ➞ "The elephance in Frants were chased by ance!"
switcheroo("While he rants, I fall into a trance...") ➞ "While he rance, I fall into a trants..."
switcheroo("Bounced over the fence!") ➞ "Bounced over the fents!""nts" ou "nce" que não estejam no final de uma palavra (veja o exemplo #3).