Gerry has a 100-digit secret number. The first digit is 9, and the following numbers are formed as double the last known digit. What is the last digit of the number?