The function takes a string input and reverses the order of letters and numbers in the string.
