Mrs. Ward baked 840 cookies. She sold them in packets of 24 cookies each. How much did she receive if the selling price per packet was $3.?