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

### Instruction:
What is the average Crimean War with a Second Afghan War totaling 1, and a School of hamblin and porter's school, cork?

### Inputs:
table_name: table, columns: ['School', 'Location', 'Total', 'Crimean War', 'Persian War', 'Indian Mutiny', '1860-1878', 'Zulu War', 'Second Afghan War']

### Response:
SELECT AVG Crimean War FROM table WHERE Second Afghan War = 1 AND School = hamblin and porter's school, cork