#!/bin/python import sys def isprime(a): x = True if a<2: x=False for i in range(2, a): if a%i == 0: x = False return x break # ends the for loop # no else block because it does nothing ... return x g = int(raw_input().strip()) for a0 in xrange(g): n1 = int(raw_input().strip()) n=list(range(1,n1+1)) # your code goes here count=0 k=0 while(k