#SDNU1488. Problem_F

Problem_F

Description

There are two octal integers numbers aa and bb.You need to calculate the result of aa minus bb,then output in octal notation.

If the result is negative, you should use the negative sign instead of complement notation.

Format

Input

The first line is an integer T(1T1000)T(1 \leq T \leq 1000), indicating the number of test cases.

For each case, the first and only line contains two octal integers a,b.(0a,b<2100)a, b. (0 \leq a, b < 2^{100}).

Output

Print the result contains a list of the fully qualified octal digits,one per line.

Samples

1
76 7
67