Raghav lives in Strangeland and studies in a college where it is mandatory to maintain a minimum of 75% attendance in each subject or else you are not allowed to appear for the exam of that subject. Consider the subject AI (Artificial Intelligence) for which the total number of classes held till the present date equals X. Raghav has only attended Y out of these X classes. Find minimum how many extra classes should be held so that he is allowed to appear for the AI exam. Assume that he attends all the extra classes.
INPUT FORMAT
First line consists of a single integer T denoting the number of testcases
OUTPUT FORMAT
For each testcase output a single integer denoting the answer for that testcase
CONSTRAINTS
1≤T≤105
1≤X≤106
SUBTASKS
For the first testcase : 7 classes have been held out of which Raghav has attended 6 which is greater than 75% .Hence no more extra classes are required.