What is the least number of wins West Ham got when they tied 27 times?
CREATE TABLE "record_by_competition" (
  "competition" text,
  "played" real,
  "millwall_wins" real,
  "drawn" real,
  "west_ham_wins" real,
  "millwall_goals" real,
  "west_ham_goals" real
);
SELECT MIN("west_ham_wins") FROM "record_by_competition" WHERE "drawn">27;