array_line1 = gets.split(nil) line2 = gets puts "#{array_line1[0].to_i + array_line1[1].to_i} #{line2}"