The function takes a single input x and produces an output that is linearly related to x, except for inputs 2 through 4, which are mapped to their corresponding outputs.

