solution: Among the $50-6=44$ students that participate in either MATHCOUNTS or science club, $44-28=16$ students do not participate in MATHCOUNTS.  All 16 of these students only participate in science club.  The other $21-16=\boxed{5}$ science club participants participate in MATHCOUNTS as well.
prompt.content: <|im_start|>system
  You are a helpful assistant.<|im_end|>
  <|im_start|>user
  In a class of 50 students, 28 participate in MATHCOUNTS, 21 participate in science club, and 6 students participate in neither. How many students participate in both MATHCOUNTS and science club?
  Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
  <|im_start|>assistant
  
prompt.role: user
extra_info.answer: 5
extra_info.question: In a class of 50 students, 28 participate in MATHCOUNTS, 21 participate in science club, and 6 students participate in neither. How many students participate in both MATHCOUNTS and science club?
extra_info.split: test