ParentCo's separate taxable income was $350,000, and SubCo's was $225,000. Consolidated taxable income before contributions was $400,000. Charitable contributions made by the affiliated group included $15,000 by ParentCo and $20,000 by SubCo. Compute the group's charitable contribution deduction.