problem 17, writing out numbers