#include<stdio.h>

int main(){
  int n = 2;
  while(n == 2){
  int a, b;
  char buf[20];
  fgets(buf, sizeof(buf), stdin);
  n = sscanf(buf, "%d%d", &a, &b);
  printf("%d\n", a+b);
  }
  //printf("\n");
  return 0;
}