for t in [0]*int(input()): N=int(input()) l,r=1,N+1 while l+1