The function f(x) duplicates the input string by appending it to itself.

