• + 0 comments
    if __name__ == '__main__':
        n, x = map(int, input().split())
        grades_list = [tuple(map(float, input().split())) for subjects in range(x)]
    
        zip_students = zip(*grades_list)
        
        zip_list = list(zip_students)
        
        avg_list = [ sum(student)/len(student) for student in zip_list]
        
        print(*map(lambda x: f'{x:.1f}', avg_list), sep='\n')