Dada uma frase contendo algumas ocorrências de "Ctrl + C" e "Ctrl + V", retorne a frase depois que esses atalhos de teclado forem aplicados! Observe que:
"Ctrl + C" copiará todo o texto que estiver antes dele."Ctrl + V" não fará nada se não houver nenhum "Ctrl + C" antes dele."Ctrl + C" que aparece depois de outro "Ctrl + C" substituirá o que ele copia.keyboardShortcut("the egg and Ctrl + C Ctrl + V the spoon") ➞ "the egg and the egg and the spoon"
keyboardShortcut("WARNING Ctrl + V Ctrl + C Ctrl + V") ➞ "WARNING WARNING"
keyboardShortcut("The Ctrl + C Ctrl + V Town Ctrl + C Ctrl + V") ➞ "The The Town The The Town"