Solve the problem.
Mark can remember only the first 4 digits of his friend's phone number. He also knows that the number has 7 digits and that the last digit is not a 0. If Mark were to dial all of the possible numbers and if it takes him 21 seconds to try each one, how long would it take to try every possibility?