3 appears as a y-value (corresponding to the points (2, 3) and (4, 3)) so it is in the range of the function.