| Theforces Round #34 (ABC-Forces) |
|---|
| Finished |
You are given an integer $$$n$$$.
For the integer $$$n$$$, a pair $$$(a,b)$$$ is considered cool only if:
For a given integer $$$n$$$, find the maximum value of $$$\gcd(a,b)$$$ among all cool pairs $$$(a, b)$$$. Here $$$\gcd$$$ means the greatest common divisor.
The first line contains an integer $$$t$$$ ($$$1 \le t \le 10^4$$$), the number of test cases.
For each test case, the only line contains a single integer $$$n$$$ $$$(2 \le n \le 10^9)$$$.
For each test case, print the maximum value of $$$\gcd(a,b)$$$ for all cool pairs $$$(a, b)$$$.
92345678910
1 1 2 2 2 2 4 4 5
| Name |
|---|


