user: Question: What is the total number of losses for teams with less than 5 ties and more than 330 goals for?
Columns: ['Season', 'League', 'Games', 'Lost', 'Tied', 'Points', 'Winning %', 'Goals for', 'Goals against', 'Standing']
Types: ['text', 'text', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'text']
Sample row: ['1950–51', 'EAHL', 54.0, 25.0, 3.0, 55.0, 0.509, 195.0, 194.0, '1st, EAHL']
SQL:

assistant: SELECT SUM("Lost") FROM "Table" WHERE "Tied" < 5.0 AND "Goals for" > 330.0;