Question 22Alan writes every integer from 1 to 173 on a whiteboard: $1,2,3,\ldots,173$. How many times does he write the digit 7?