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_9 (cup_goals INTEGER, league_apps INTEGER)
  ### Question:
  How many cup goals for the season with more than 34 league apps?
  ### Answer:
  SELECT AVG(cup_goals) FROM table_name_9 WHERE league_apps > 34