When a three-digit number is divided by 40, the quotient is a and the remainder is b (both a and b are integers), what is the maximum value of a+b?
一个三位数除以40，商是a，余数是b(a、b都是整数)，则a+b的最大值为多少．
<gadget id="calculator">40 - 1</gadget>
<output>39</output>

<gadget id="calculator">23 + 39</gadget>
<output>62</output>

<result>62</result>