write a function rule for the input-output table

input X 0 1 2 3
output Y 5 4 3 2

2 answers

output=5 minus input ?
input 32578hem