What position does the Wales player who made more than 167 appearances, had more than 0 goals, and had a Leeds career from 1977–1982 play?
CREATE TABLE "notable_players" (
  "nationality" text,
  "position" text,
  "leeds_career" text,
  "appearances" real,
  "goals" real
);
SELECT "position" FROM "notable_players" WHERE "appearances">167 AND "nationality"='wales' AND "goals">0 AND "leeds_career"='1977–1982';