The function reverses the given input string and capitalizes the first letter.
