The positive integers N and N^{2} both end in the same sequence of four digits a b c d when written in base 10, where digit a is not zero. Find the three-digit number a b c.
The positive integers N and N^{2} both end in the same sequence of four digits a b c d when written in base 10, where digit a is not zero. Find the three-digit number a b c.