In an examination, the average was found to be 50 marks. After deducting computerization errors, the marks of 100 candidates had to be changed from 90 to 60 each and average came down to 45 marks. The total number of candidates who took the examination was:
A500
B700
C850
D600