A catering company charges a flat fee for the first 30 guests and a reduced rate for each additional guest. The total cost, , for guests, where , is given by the function . If the reduced rate for each additional guest is $18, what was the charge per guest for the first 30 guests?