CREATE TABLE table_name_77 (visiting_team VARCHAR(255), final_score VARCHAR(255))
Which visiting team wound up with a final score of 18-40?
    
SQL: SELECT visiting_team FROM table_name_77 WHERE final_score = "18-40"