Daniel and Edwin went to lunch. Daniel’s meal cost $20 and Edwin’s meal cost $18.50. They each left an 18% tip on the price of their own meal. How much did Daniel and Edwin pay in total?