A grid of size $$$n \times n$$$ is constructed in the following way:
The first row of the grid consists of the numbers $$$1, 2, 3, \dots, n$$$ (in that order).
Then, each other cell in the grid will be filled with the square of the number in the cell above it.
Given an integer $$$n$$$, count the number of distinct integers in an $$$n \times n$$$ grid.
The first line of the input contains a single integer $$$t$$$ ($$$1 \le t \le 10^5$$$) — the number of testcases.
The first line of each testcase contains a single integer $$$n$$$ ($$$1 \le n \le 10^5$$$) – the number of rows and columns in the grid.
For each testcase, output a single integer — the number of distinct integers in the grid.
223
3 7
The grid in the first testcase:
| 1 | 2 |
| 1 | 4 |
The grid in the second testcase:
| 1 | 2 | 3 |
| 1 | 4 | 9 |
| 1 | 16 | 81 |
| Name |
|---|


