As given that first 5grades are: 71%, 82%, 71%, 78% and 78%.
Let the 6th grade be C
a). Then:

Simplifying it:

And:

So C should be in between 70 to 100.
b). For at least 80%:

It is not possible for getting b grade as one cannot achieve more than maximum marks if the maximum marks are 100.