Little Ron of Byteland was poor at mathematics. He always used to get zero marks in mathematics test. One evening when he showed his result to his father, his father scolded him badly. So, he thought if zeroes were not there in this world how good the world would have been. The next day he was given an assignment by his mathematics teacher to add two numbers. He tried to solve the assignment by assuming that zero does not exist, i.e. he removed all the zeroes from the numbers x and y and then added them. If x + y = z  remains correct after removing zeroes from it then Ron's assumption was correct, otherwise he was wrong. 

Input
The first line of the input contains t, the number of test cases. t lines follow each containing two integers x and y to be added. The two numbers don’t have leading zeroes. 

Output
For each test case, if Ron’s assumption is correct, print "YES" (without quotes), otherwise print "NO"(without quotes).

Constraints
1 <= t <= 100  1 <= x, y <= 10^9

Example
Input:
1
205 402
Output:
YES
t=input()
while t:
    x,y=map(int,raw_input().split())
    res=x+y
    res=list(str(res))
    while '0' in res:
        res.remove('0')
    x=list(str(x))
    y=list(str(y))
    while '0' in x:
        x.remove('0')
    while '0' in y:
        y.remove('0')
    res1=int(''.join(x))+int(''.join(y))
    res1=str(res1)
    if(res1==''.join(res)):
        print "YES"
    else:
        print "NO"
    t=t-1