j, m, b = map(int, input().split(',')) print(''.join(["合計点:", str(j+m+b)])) print(''.join(["平均点:", '{:.1f}'.format((j+m+b)/3)]))