A calculation machine follows these steps:
Find the output when the input is 45.
Find the input when the output is 8.