A pupil's marks were wrongly entered as 82 instead of 62. Due to this the average increased by half. find the number of pupil's in the class.

A ) 30

B ) 40 ✅

C ) 50

D ) 60