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_50 (goals_for INTEGER, wins VARCHAR, losses VARCHAR)
### Question:
How many goals for were scored for the team(s) that won fewer than 4 games and lost more than 6?
### Answer:
SELECT SUM(goals_for) FROM table_name_50 WHERE wins < 4 AND losses > 6