In a bag, Gary has 3 red marbles, 4 blue marbles, 7 yellow marbles, 5 green marbles, 6 purple marbles, and 8 clear marbles. What is the least number of marbles he needs to pull out (assume that they are randomized) in order to ensure that he has at least 3 of the same color?