user: ### NOW ANSWER:
Question: Which visiting team wound up with a final score of 18-40?
Columns: ['Date', 'Visiting Team', 'Final Score', 'Host Team', 'Stadium']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['September 9', 'Miami Dolphins', '31-23', 'Tennessee Titans', 'Adelphia Coliseum']
SQL:

assistant: SELECT "Visiting Team" FROM "Table" WHERE "Final Score" = '18-40';