The following question is based on the given data for an examination.
A. Candidates appeared 10500
B. Passed in all the five subjects 5685
C. Passed in three subjects only 1498
D. Passed in two subjects only 1250
E. Passed in one subject only 835
F. Failed in English only 78
G. Failed in Maths only 275
H. Failed in Physics only 149
I. Failed in Chemistry only 147
J. Failed in Biology only 221
How many candidates passed in at least four subjects ?