problem 17: numbers letter counts