text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_66 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR)
  ### Question:
  What is the highest amount of goals with more than 51 goals against and less than 30 played?
  ### Answer:
  SELECT MAX(goals_for) FROM table_name_66 WHERE goals_against > 51 AND played < 30