Given a number N, print all the composite numbers less than or equal to N. The number should be printed in ascending order.
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.
Print all the composite Number form 0 to N.
1 ≤ T ≤ 50
4 ≤ N ≤ 10000
4 6 8 9 10
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.