The Friendship Warehouse has a total of 30 storage bins. Some of the bins can hold 20 tons, and the rest can hold 15 tons. How many of each type of bin are there if the capacity of the warehouse is 510 tons.