x = list(map(int,input().split(','))) sum_x = sum(x) print(f'合計点:{sum_x}') print(f'平均点:{sum_x/len(x)}')