Vera went to the local salon to get a haircut. The cost of was $24. Vera tipped the hair stylist 18%. What was the total cost of the haircut including the tip?