Chemistry defeated arithmetic in elections: PM Modi