Question 20A book has 18 pages numbered consecutively from 1 to 18. How many digits are needed to write all the page numbers?