There is an equal number of 2 brands of watches on a shelf. Brand at watches cost $58 each, and Brand B watches cost $30 each. If the total cost of all the watches on the shelf is $22,000, how many watches are there?