The function f(x) reverses the input string and appends an "E" at the end.

