Find the 5 digit numbers satisfying the following condition and find the sum.

The number obtained by replacing the last digit by 1 is 3 times bigger than the number obtained by replacing the first digit by 1.

The answer is 104994.

**
This section requires Javascript.
**

You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.

The only two valid numbers are 44997 and 59997.