What is the mean on-site ATMS that have off-site ATMs of 1567, and the total number of ATMs less than 4772?
CREATE TABLE "branches_and_at_ms_of_scheduled_commerci" (
  "bank_type" text,
  "number_of_branches" real,
  "on_site_at_ms" real,
  "off_site_at_ms" real,
  "total_at_ms" real
);
SELECT AVG("on_site_at_ms") FROM "branches_and_at_ms_of_scheduled_commerci" WHERE "off_site_at_ms"=1567 AND "total_at_ms"<4772;