Sarah bought 18 boxes of 65 pens at $12 a box. She sold 378 of them at 3 for $1.00 and the rest at 4 for $1.00. She sold 378 of them at 3 for $1.00 and the rest at 4 for $1.00. Find her total profit.