• + 20 comments

    To keep things clear and simple:

    n, x = map(int, input().split()) 
    
    sheet = []
    for _ in range(x):
        sheet.append( map(float, input().split()) ) 
    
    for i in zip(*sheet): 
        print( sum(i)/len(i) )