If a competitive firm maximizes short-run profits by producing some quantity of output, which of the following must be true at that level of output?
A) MR=MC
B) p=MC
C) p>AVC
D) All of the above