A Pizzeria sells pizza according to size: small pizzas cost $10, medium pizzas cost $15, and large pizzas cost $40. They usually sell as many small pizzas as medium and large pizzas combined. The number of medium pizzas sold is usually twice as many as large ones. How many of each size pizza must they sell to get $600?