The answer is: Who has the greatest needs?
A question regarding 'for whom to produce' focused on the target market where the producers intended to sell their products.
This means that the grater the need of the product, the more likely people willing to put their money in order to get that products. Answering this would translate positively to the producers' overall profit.