Oakdale Middle School received 240 contributions for its bake sale. Of 30% of the contributions were pies, how many pies did the school receive?