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_37 (total INTEGER, gymnast VARCHAR, position VARCHAR)
  ### Question:
  What is the total for Danny Pinheiro Rodrigues ( fra ), in a Position smaller than 7?
  ### Answer:
  SELECT AVG(total) FROM table_name_37 WHERE gymnast = "danny pinheiro rodrigues ( fra )" AND position < 7