Tom bought $81 worth of milk. The price of a bottle of Brand A milk was $1.50 and of Brand B milk was $2.10. He bought 40 bottles of Brand A milk. How many bottles of Brand B milk did he buy? ​