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