Calculation of Grades | CodeChef