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

### Instruction:
What is the average percentage of total area when the percentage of marine area is more than 39.3 and territorial waters area is less than 2,788,349?

### Inputs:
table_name: table, columns: ['Ecozone', 'Area (km²) Territorial waters', 'Area (km²) Exclusive Economic Zone', 'Percentage of total area (forEEZ)', 'Percentage of marine area (forEEZ)']

### Response:
SELECT AVG Percentage of total area (forEEZ) FROM table WHERE Percentage of marine area (forEEZ) > 39.3 AND Area (km²) Territorial waters < 2,788,349