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

### Instruction:
What is the production code of the episode before season 8, with a series number less than 31, and aired on September 21, 1995?

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

### Response:
SELECT Production code FROM table WHERE Season # < 8 AND Series # < 31 AND Original air date = september 21, 1995