Let the original number be xy
y---unit digit of
-------(1) -------(2) Solving (1) & (2) we get, and So the number is 39