FUCT_FOR_FNPN - First N Positive Number


Writing a program that output first n positive number.

For example: n = 9 => Print out: 1 2 3 4 5 6 7 8 9

Input

The first line of the input consist of a single integer number t which determines the number of tests.

In each of next t lines there is a single integer number n.

Constraints

  • 0 < t ≤ 1 000
  • 0 < n ≤ 1 000 000

Output

For each number n print out the result list. Separate your answers with a new line character.

Example

Input:
4
5
8
1
0

Output:
1 2 3 4 5
1 2 3 4 5 6 7 8
1
invalid

hide comments
maks_bona1: 2023-05-29 18:44:31

i dont recommend this:)

qwert21ant: 2022-08-02 14:02:19

A piece of shit

loonatheworld: 2022-06-22 15:54:46

if it is 0 < n ≤ 1 000 000 for the constrain then why is there even a '0' in the example?

dragoncat: 2022-02-13 11:48:19

no see Wrong answer

wisfaq: 2018-04-09 22:33:28

Please move to Basic.
Author: Thanks. It's moved to basic.

Last edit: 2018-04-26 09:57:58
khanhvh: 2018-04-09 03:29:06

FPTU Can Tho - Slot 05#06#07 - FOR - First N Positive Number


Added by:khanhvh
Date:2018-04-09
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All
Resource:FPTU Can Tho