The town recreation department ordered 100 balls and bats for the summer baseball camp. Balls cost $4.50 each, and bats cost $20. 00 each. They spent $822.00 . How many of each item, bats and balls, were purchased.