Which is a basic economic question that must be answered by all economic systems?

Economic systems answer three basic questions: what will be produced, how will it be produced, and how will the output society produces be distributed?