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_99 (goals_for INTEGER, draws VARCHAR, points VARCHAR, losses VARCHAR, wins VARCHAR)
  ### Question:
  What is the average number of goals for entries with more than 12 losses, more than 10 wins, more than 3 draws, and fewer than 29 points?
  ### Answer:
  SELECT AVG(goals_for) FROM table_name_99 WHERE losses > 12 AND wins > 10 AND points < 29 AND draws > 3