Problem 11777 solved, 'Automate the Grades'