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

### Instruction:
What is the average amount of earnings for years under 2004 and money list rankings of 6?

### Inputs:
table_name: table, columns: ['Year', 'Wins', 'Earnings ($)', 'Money list rank', 'Average']

### Response:
SELECT AVG Earnings ($) FROM table WHERE Money list rank = 6 AND Year < 2004