object App{
  def main(args: Array[String]) = {
    var line = scala.io.StdIn.readLine()
    while(line != null)
    {
      print(line.split(' ').map(_.toInt).sum)
      line = scala.io.StdIn.readLine()
    }
  }
}