AMC8 1991 Problem 9

How many whole numbers from 1 through 46 are divisible by either 3 or 5 or both?

Answer Choices
A. 18
B. 21
C. 24
D. 25
E. 27