medium_calculate_letter_grade