Question 44
When adding together positive integers $a$ and $b$, Juku forgot to enter the final digit 7 of the number $a$ and got a result of 2022. Had Juku instead forgotten to enter the final digit of $b$, the result would have been 5000. Find the sum of $a$ and $b$.