j, m, b = gets.chomp.split(',').map(&:to_i) puts "合計点:#{j + m + b}" puts "平均点:#{((j + m + b) / 3.0).floor(1)}"