A family of 6 went to the water park. The total cost was $144 for all 6 family members. If each family member was charged the same amount, how much did each person have to pay?