Guess the relation between the given input and output from the sample.
Scoring:
If the number of characters in code ≤120, then Score=100
else
Score=max(0,m), where m=(1200−number of characters in code)/12
Input
The first line contains the number T, the number of test cases
Next T lines contain a single number n
Output
Apply the logic and print the output for each test case in a single line
Constraints:
1≤T≤105
1≤n≤109