The function f(x) duplicates the input string three times.
