1. The difference of two natural numbers, which are perfect squares, ends with the digit 2. What are the last digits of the minuend and subtrahend if the last digit of the minuend is greater than the last digit of the subtrahend?
1. The squares of natural numbers end in the digits $0,1,4,9,6,5$. Among them, only $6-4=2$, so the minuend ends in the digit 6, and the subtrahend in the digit 4.