John is 23 years old and rents a car for 4 days, from Thursday through Sunday. The cost of the car rental is 27.99 with unlimited miles, but the cost of the rental is 42% higher on Saturday and Sunday. The company charges a $40 fee for renters younger than 25 . How much will it cost John to rent the car?