user
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
Compute the average grade for this class

### Input:
Grades:
A - 3
B - 10
C - 5
D - 2

### Response:
assistant
The average grade for the class is a B, calculated with (3*A + 10*B + 5*C + 2*D)/ 20 = 10/20 = 0.5.