What is the basic economic problem that societies must solve?

A) Who will consume the goods and services?
B) How will the goods and services be produced?
C) How to allocate resources in order to best satisfy the
needs and wants of people.
D) What goods and services should be produced?

C) How to allocate resources in order to best satisfy the needs and wants of people.