a function assigns the inputs and corresponding outputs shown in the table below