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_53 (position INTEGER, team VARCHAR, lost VARCHAR)
  ### Question:
  What is team ypiranga-sp's average position when they lost by less than 7?
  ### Answer:
  SELECT AVG(position) FROM table_name_53 WHERE team = "ypiranga-sp" AND lost < 7