def grades_input(n_student):
    """Gets grade inputs from the user."""
    grade_list = []
    for _ in range(0, n_student):
        grade_list.append(int(input('Enter a number: ')))
    return grade_list