Input : 4 Output : 6
Input : 2 Output : 5
Input : 6 Output : 2
Input : 1 Output : 0
Explanation:
Look at the graph! The number in the bottom is the input, the number on the left top is output. You go over to input 4 and go up until you reach the point. You should get 6. Therefor, the output is 6! Same goes with the other ones.