In an examination, 35% candidates failed in one subject and 40% failed in another subject while 15% failed in both the subjects. If 2500 candidates appeared at the end of the examination how many passed in either subject but not in both?  Choose the correct answer.
A) 975
B) 1020
C) 1175
D) 1243
E) 1125
Failed in 1st subject = 35*2500/100= 
<gadget id="calculator">35*2500/100</gadget>
<output>875</output>
875   Failed in 2nd subject= 40*2500/100= 
<gadget id="calculator">40*2500/100</gadget>
<output>1_000</output>
1000   Failed in both= 15*2500/100= 
<gadget id="calculator">15*2500/100</gadget>
<output>375</output>
375   Failed in 1st subject only= 875-375= 
<gadget id="calculator">875-375</gadget>
<output>500</output>
500   Failed in 2nd subject only= 1000-375= 
<gadget id="calculator">1000-375</gadget>
<output>625</output>
625   Passed in either subject but not in both= 625+500= 
<gadget id="calculator">625+500</gadget>
<output>1_125</output>
1125   Answer is 1125
<result>E</result>
In an examination, 35% candidates failed in one subject and 40% failed in another subject while 15% failed in both the subjects. If 2500 candidates appeared at the end of the examination how many passed in either subject but not in both?