def METHOD_NAME(fname,hour,count,wait_count,total_wait,cs1_grade_count,cs1_total_grade,ds_grade_count,ds_total_grade):
    avg_wait=0
    if wait_count > 0:
        avg_wait = total_wait / wait_count
    cs1_avg_grade=0
    if cs1_grade_count > 0:
        cs1_avg_grade = cs1_total_grade / cs1_grade_count
    ds_avg_grade=0
    if ds_grade_count > 0:
        ds_avg_grade = ds_total_grade / ds_grade_count
    #if wait_count < 20:
    #    return
    #if avg_wait < 3:
    #    return
    # long grading time for ds
    #if wait_count < 200:
    #    return
    if ds_grade_count < 30:
        return
    if ds_avg_grade < 10:
        return
    if (#"201709" not in fname and
            "201710" not in fname
            #and
        #"201711" not in fname and
        #"201712" not in fname
    ):
        return
    other=count-wait_count
    if (other > 50):
        return
    print('{} | hour {:2d} | total {:4d} other {:4d} | '.format(fname,hour,count,other),
          'wait {:4d} {:6.2f} | '.format(wait_count,avg_wait),
          'cs1_grade {:4d} {:6.2f} |'.format(cs1_grade_count,cs1_avg_grade),
          'ds_grade {:4d} {:6.2f}'.format(ds_grade_count,ds_avg_grade))