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

### Instruction:
What is the highest production code when the writer was brian egeston after season 5?

### Inputs:
table_name: table, columns: ['Series #', 'Season #', 'Title', 'Directed by', 'Written by', 'Original air date', 'Production code']

### Response:
SELECT MAX Production code FROM table WHERE Written by = brian egeston AND Season # > 5