Conner and Darian made a profit of $40,021.50 on day 1 of the hot chocolate sale. They donated $10,050.25 to their school so their school could purchase more good books. Then Conner gave his dad $25.00 and Darian gave his dad $25.00. Conner and Darian invested the rest of the money so that they can make their hot chocolate shop even better! How much money did they invest?