SCHEMA:
CREATE TABLE table_name_77 (visiting_team VARCHAR, final_score VARCHAR)
USER:
Which visiting team wound up with a final score of 18-40?

QUERY:
SELECT visiting_team FROM table_name_77 WHERE final_score = "18-40"