You need subtraction to count down from m or n and addition to do the arithmetic needed to get the right answer.