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

### Instruction:
What is the total number of averages where the played is more than 38, the 1990-91 is 39, and the 1989-90 is 34?

### Inputs:
table_name: table, columns: ['Team', 'Average', 'Points', 'Played', '1989-90', '1990-91', '1991-1992']

### Response:
SELECT SUM Average FROM table WHERE Played > 38 AND 1990-91 = 39 AND 1989-90 = 34