PASCAL 2011 Problem 16

The set S=\{1,2,3,\dots,49,50\} contains the first 50 positive integers. After the multiples of 2 and the multiples of 3 are removed, how many integers remain in the set S?

Answer Choices
A. 8
B. 9
C. 16
D. 17
E. 18