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

### Instruction:
How many wins did West Ham get when Millwall had more than 23 goal and 5 wins, and they tied 8 times?

### Inputs:
table_name: table, columns: ['Competition', 'Played', 'Millwall wins', 'Drawn', 'West Ham wins', 'Millwall goals', 'West Ham goals']

### Response:
SELECT West Ham wins FROM table WHERE Millwall wins > 5 AND Millwall goals > 23 AND Drawn = 8