In an examination, 31 candidates passed chemistry, 29 passed physics and 3 failed both subjects. If 50 candidates sat for examination, how many of them passed chemistry only

31 - 3 = 28 candidates passed chemistry only.