Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What is the mean on-site ATMS that have off-site ATMs of 1567, and the total number of ATMs less than 4772?

### Inputs:
table_name: table, columns: ['Bank type', 'Number of branches', 'On-site ATMs', 'Off-site ATMs', 'Total ATMs']

### Response:
SELECT AVG On-site ATMs FROM table WHERE Off-site ATMs = 1567 AND Total ATMs < 4772