Question 22
Pi writes a four-digit number with four distinct digits. Its thousands digit is twice its tens digit. Its hundreds digit is 2 less than its thousands digit. Its units digit is not 0. The sum of its digits is 12. What number does Pi write?

