Story: (You can skip the story if you want just read the instructions)
Aliens have invaded planet earth and humans are kept as prisoners. Luckily you found your way out from the prison but it was too late for others to join you and the alien have reported the breach and rectified it. Now the jail in which humans are kept prisoners has a security which takes a number as input to unlock it. Since alien doesn't have a good memory and they can't store it in plaintext because they know you are out there somewhere. So they stored the password in a file as two numbers which when added gives you the password. You've got that file but you know that alien addition is different from humans addition. Luckily you got an solved example in the file so you know how it works but it will consume much time to add them so you need to code it for fast addition.
Instruction for addition:
0 is neutral, 1 acts like 9, 2 acts like 8 and so on.... 9 acts like 1 again. Add them like humans and then each digit of that addition is changed to its equivalent given above.
Note: 0 acts like 0 only.
Constraints
1<=N<=100
1<=A,B<=40000
Input
N - Number of test cases
N line followed by A and B two numbers to be added
Output
N lines alien addition of A and B
Example
1234
+1234
------
91358
Step 1: 4 acts like 6 so 6+6 is 12.
Each digit of 12 changed to its equivalent gives 98. 9 goes to carry.
Step 2: Now 9 acts like 1, 3 acts like 7, sums up to be 1+7+7 sums up to be 15, converted to 95, 9 goes to carry.
Step 3: 1+8+8 gives 17, converted to 93. 9 goes to carry.
Step 4: 1+9+9 gives 19, converted to 91.
Gives the answer 91358.