Problem
You and your friend are playing a game with hoops. There are
hoops (where is odd) in a row. You jump into hoop , and your friend jumps into hoop . Then you jump into hoop , and after that, your friend jumps into hoop , and so on.
The process ends when someone cannot make the next jump because the hoop is occupied by the other person. Find the last hoop that will be jumped into.
###Input
- The first line contains an integer , the number of test cases. Then the test cases follow.
- Each test case contains a single line of input, a single integer .
###Output For each testcase, output in a single line the answer to the problem.
###Constraints
- is odd
###Subtasks Subtask #1 (100 points): original constraints
Sample 1:
2
1
3
1
2
Explanation:
Test Case : Since there is only hoop, that's the only one to be jumped into.
Test Case : The first player jumps into hoop . The second player jumps into hoop and finally the first player jumps into hoop . Then the second player cannot make another jump, so the process stops.
ANSWER