gets puts gets.split.map{|e| e.to_i}.inject{|sum,e| sum+e }