t=eval(input()) for i in range(t): n=eval(input()) a=[0] b=list(map(eval,input().split())) for j in b: a.append(j)  ...