If you rearrange the digits of a four-digit number into ascending order, then rearrange the original number into descending order and subtract one from the other, the numbers begin a strange pilgrimage toward 6174.
1