Chef went shopping and bought items worth XX rupees (1≤X≤1001≤X≤100). Unfortunately, Chef only has a single 100100 rupees note.
Since Chef is weak at maths, can you help Chef in calculating what money he should get back after paying 100100 rupees for those items?
Input Format
 First line will contain TT, the number of test cases. Then the test cases follow.
 Each test case consists of a single line containing an integer XX, the total price of items Chef purchased.
Output Format
For each test case, output in a single line the money Chef has to receive back.
Constraints
 1≤T≤1001≤T≤100
 1≤X≤1001≤X≤100
Sample Input 1
3
1
25
100
Sample Output 1
99
75
0
Explanation
Test case1: Since chef paid 100100 rupees for items worth 11 rupee. He should get back 9999 rupees.
Test case2: Since chef paid 100100 rupees for items worth 2525 rupees. He should get back 7575 rupees.

For Solution
Click Here!