BETA
This is a school problem. Successful submissions of this are not counted in user ratings.

Submissions : 2930 Accuracy :

26.66

Composite Series
     

Given a number N, print all the composite numbers less than or equal to N. The number should be printed in ascending order.

Input:
The first line contain an Integer T denoting the number of  test cases . Then T test cases follow. Each test case consist of an single integer N.

Output:
Print all the composite Number form 0 to N.

Constraints:

1 ≤ T ≤ 50
4 ≤ N ≤ 10000

Example:

Input:
2
10

6
Output:

4 6 8 9 10
4 6

**For More Examples Use Expected Output**


Contributor: karan kumar

Set Default Code

					   
Result:
It is recommended to test your code before clicking 'Submit' button!



                   



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.