The function reverses the input string and capitalizes all the letters.

