Name the most population hervey bay for when population maryborough of 22,977 and population tiaro less than 3,287
CREATE TABLE "population" (
  "year" real,
  "population_region_total" real,
  "population_maryborough" real,
  "population_hervey_bay" real,
  "population_woocoo" real,
  "population_tiaro" real
);
SELECT MAX("population_hervey_bay") FROM "population" WHERE "population_maryborough"='22,977' AND "population_tiaro"<'3,287';