import java.util.Scanner

object Main {

  def main(args: Array[String]): Unit = {
    val sc = new Scanner(System.in)

    while (sc.hasNext) {
      val a, b = sc.nextInt()
      println(a + b)
    }

    sc.close()
  }
}