user: ### NOW ANSWER:
Question: What is the mean on-site ATMS that have off-site ATMs of 1567, and the total number of ATMs less than 4772?
Columns: ['Bank type', 'Number of branches', 'On-site ATMs', 'Off-site ATMs', 'Total ATMs']
Types: ['text', 'real', 'real', 'real', 'real']
Sample row: ['Nationalised banks', 33627.0, 3205.0, 1567.0, 4772.0]
SQL:

assistant: SELECT AVG("On-site ATMs") FROM "Table" WHERE "Off-site ATMs" = 1567.0 AND "Total ATMs" < 4772.0;