In the exam 40% students failed and 559 students were successful. The total number of students who appeared in the exam were

A ) 1000 ✅

B ) 900

C ) 1500

D ) 800