#include <stdio.h> int main() { int T; scanf("%d",&T); int a,b,sum=0; for(int i=0;i<T;i++){ scanf("%d%d",&a,&b); printf("%d\n",a+b); } return 0; }