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

### Instruction:
How many cup goals in the season with more than 5 league apps, 1 cup apps and fewer than 4 league goals?

### Inputs:
table_name: table, columns: ['Season', 'Team', 'League Apps', 'League Goals', 'Cup Apps', 'Cup Goals']

### Response:
SELECT SUM Cup Goals FROM table WHERE League Apps > 5 AND Cup Apps = 1 AND League Goals < 4