User:Sridharinfinity/Programming Contests/Sphere Source/42


 * 1) 42. Adding Reversed Numbers
 * 2) Problem code: ADDREV

for x in range( int(raw_input) ): a,b = raw_input.split a,b = map(list, (a,b)) a.reverse b.reverse a,b = [int(''.join(x)) for x in (a,b)] c = list(str(a+b)) c.reverse c = int(''.join(c)) print c