A monopoly takes the market price as given, while the perfectly competitive firm chooses an output level that maximizes profit?