The members of the boosters organization at your high school bought new balls for the school . They spent $ 22.00 per basketball and \$36.00 per football, spending a total of $ 688.00. They bought 3 more footballs than basketballs . How many of each type of ball did they buy ?