Yasmin is playing with her younger brother, Cameron. They are grouping Skittles by color. They have 14 green, 10 yellow, and 8 purple Skittles. Each group must have the same number of green, the same number of yellow, and the same number of purple Skittles. What's the maximum number of piles that Sophia can build with Cameron?