CF2185A.Perfect Root

传统题 时间 2000 ms 内存 256 MiB 3 尝试 1 已通过 1 标签

Perfect Root

A positive integer xx is a perfect root if there exists an integer yy such that qrty=xqrt{y} = x. For example, 55 is a perfect root because qrt25=5qrt{25} = 5.

For each test case, output nn distinct perfect roots. Note that the values only need to be distinct within each test case; you can use the same value in different test cases.

Input

The first line of the input contains a single integer tt (1t201 \leq t \leq 20) — the number of test cases.

The only line of each test case contains an integer nn (1n201 \leq n \leq 20) — the number of perfect roots to output.

Output

For each test case, output nn distinct perfect roots. Each perfect root xx must be in the range 1x1091 \leq x \leq 10^9.

Note

For the first test case:

  • 11 is a perfect root because qrt1=1qrt{1} = 1.

For the second test case:

  • 22 is a perfect root because qrt4=2qrt{4} = 2.
  • 44 is a perfect root because qrt16=4qrt{16} = 4.

Samples

3
1
2
5
1
2 4
2 102 43 1 21

在线编程 IDE

建议全屏模式获得最佳体验