Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What was the score of the game where Montreal was the home team and the Devils had a record of 40–24–6?

### Inputs:
table_name: table, columns: ['Date', 'Visitor', 'Score', 'Home', 'Decision', 'Attendance', 'Record']

### Response:
SELECT Score FROM table WHERE Home = montreal AND Record = 40–24–6