Find the difference between the greatest and the least number that can be written using the digits 6, 2, 7, 4, 3 each only once.