Your softball team is ordering equipment from a catalog. Each bat costs $42. The cost of shipping is $12 no matter how much you order. The total cost is $348. How many bats did your team order?