The function appends a number to the end of the input string, which corresponds to the position of the input string in the list of inputs.

