What's the CR number that has an LMS number less than 14761 and works of Hawthorn Leslie 3100?
CREATE TABLE "numbers_and_names" (
  "hr_no" text,
  "hr_name" text,
  "cr_no" real,
  "lms_no" real,
  "built" text,
  "works" text,
  "withdrawn" text
);
SELECT AVG("cr_no") FROM "numbers_and_names" WHERE "works"='hawthorn leslie 3100' AND "lms_no"<14761;