Ajit was asked to form the largest and the smallest five digit number by using digits 4, 9, 7, 2 and 1 without repeating the digits. What is the difference between the largest and the smallest number formed?