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

### Instruction:
With foreign banks as the bank type, and on-site ATMS less than 218, what is the average off-site ATMs?

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

### Response:
SELECT AVG Off-site ATMs FROM table WHERE Bank type = foreign banks AND On-site ATMs < 218