user: Question: How many penalties were there in the game with a G.F. of 40?
Columns: ['Team', 'Wins', 'Losses', 'Points', 'WPct.', 'G.F.', 'G.A.', 'Assists', 'Penalties', 'P.I.M.']
Types: ['text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Team', 'Wins', 'Losses', 'Points', 'WPct.', 'G.F.', 'G.A.', 'Assists', 'Penalties', 'P.I.M.']
SQL:

assistant: SELECT "Penalties" FROM "Table" WHERE "G.F." = '40';