a,b=list(map(int,input().split())) while(a!=0 or b!=0): print(a+b) a,b=list(map(int,input().split()))