If a function is defined on f:{,−1,0,1,2}→{1,2,5}, and graph of which is given below. Identify the given function.