Sonic bought a combination lock that opens with a four digit number created using digits 0 through 9. The same digit cannot be used more than once. Sonja wants the last digit to be a 7 and the order of the digits matters. How many ways can the remaining digits be choosen