Simple calculator for grades.