The function f(x) takes a string input and maps each character to a corresponding integer value. The integer values are then returned as a list.

