In which type of economic system does society decide what is produced?

A:command
B:free enterprise
C:mixed
D:socialist