Respuesta :

Given:

The input and output values are represented in a table.

Option B is the final answer.