Inverter e converter para maiúsculas

Inverta uma string em letras minúsculas e retorne o resultado em letras maiúsculas.

Exemplos

reverseAndCapitalize("abc") // "CBA"
reverseAndCapitalize("hellothere") // "EREHTOLLEH"
reverseAndCapitalize("input") // "TUPNI"