Form the greatest and smallest numbers using the digits 5,2,9,7 ( each digit used only once). What is the difference between the two numbers formed?