In a competitive market, which of the following is true at the profit-maximizing level of output?

In a competitive market, which of the following is true at the profit-maximizing level of output?

average variable cost equals marginal revenue

marginal cost equals marginal revenue

average variable cost equals average revenue

average total cost equals marginal revenue

average total cost equals average revenue