#include <stdio.h> int main() { int t; scanf("%d\n",&t); while (t--) { long long a,b; scanf ("%lld %lld\n", &a,&b); printf ("%lld\n",a+b); } return 0; }