#include<iostream>
#include<vector>

int main(void){
    std::vector<int> a,b;
    int x,y;
    while(std::cin>>x>>y){
      a.push_back(x);
      b.push_back(y);
    }
    for(int i=0;i<a.size();i++){
      std::cout<<a[i]+b[i]<<"\n";
    }
    return 0;
  }