a, b, c = read_line.split(',').map(&.to_i) puts "合計点:%d\n平均点:%.1f" % [a + b + c, (a + b + c) / 3]