Aminvai is a famous programmer of the world. He has a lot of fans & followers. Unfortunately, he has no enough time for talking to all of his fans and followers. Recently, his PA has announced an offer. They who will be able to solve this problem, may get the opportunity to have dinner with Aminvai on 29th February 2021.
In this problem, you'll be given a number. You have to add 4 with the given number. Then multiply the new number with 2. Subtract 8 from the last number you got. Now, divide this number by 2 and output the quotient you got.
There are several test cases. The first line of input contains a positive integer ( ), which denotes the number of test cases. In each line of next lines, there will be given a number ().
Output will contain lines. In each line, you have to print a number which denotes the answer for the consecutive test case.
2 5 0