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