The thousands digit of a four-digit number is less than the ones digit. Then reverse all the digits of the four-digit number to get a new number. Then we subtract the original number from the new four-digit number. What is the ones digit of the result after subtraction?