A company sells a product to two groups: Group A with elastic demand and Group B with inelastic demand. If the company charges \$80 to Group A and \$120 to Group B, and the average total cost is \$40, what is the economic profit if 150 units are sold to each group?