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

### Instruction:
Who wrote the series number 49 with a season larger than 4?

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

### Response:
SELECT Written by FROM table WHERE Season no. > 4 AND Series no. = 49