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

### Instruction:
What is the least number of wins West Ham got when they tied 27 times?

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

### Response:
SELECT MIN West Ham wins FROM table WHERE Drawn > 27