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

### Instruction:
What is the sum of Avg/G for Dan Dierking when the Loss is 0 and the Gain is more than 34?

### Inputs:
table_name: table, columns: ['Name', 'GP-GS', 'Gain', 'Loss', 'Long', 'Avg/G']

### Response:
SELECT SUM Avg/G FROM table WHERE Loss = 0 AND Name = dan dierking AND Gain > 34