A class of 50 girls and 70 boys sponsored a party. If 40% of the girls and 50% of the boys attended the party, approximately what percent of the class attended?