#include <stdio.h>
#include <stdlib.h>
int main(int argc, char** argv) {
int a,b,c,d,num1,num2;
scanf("%d%d",&a,&b);
scanf("%d%d",&c,&d);
num1=a+b;
num2=c+d;
printf("%d\n",num1);
printf("%d\n",num2);
return 0;
}
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char** argv) {
int a,b,num1;
while(scanf("%d%d",&a,&b) == 2)
{
num1=a+b;
printf("%d\n",num1);
}
return 0;
}