The function takes a numerical input and returns a numerical output. For even inputs, the function returns a positive value, while for odd inputs, it returns a negative value.

