In a school-wide fundraising campaign, Class A collected of the total funds, and Class B collected of the total funds. Class C collected $30. The remaining classes each collected no more than $2. What was the total amount, in dollars, collected by the remaining classes?
$3
$4
$5
$6
$7