Alex stocks up for winter. He buys 36 cans of vegetables. He pays 80 cents per can for tomatoes and 40 cents per can for corn, for a total cost of 20.80 How many cans of tomatoes does he buy?