def sum(data)
  data = data.split(/\s/)
  if data.size > 3
    puts"error"
  else
    answer = data[0].to_i + data[1].to_i
    return answer
  end
end
str = gets
str.each_line do |line|
  line.chomp!
  puts sum(line)
end