T=int(input()) for t in range(T): A,B,C=map(int,input().split()) def solve(A,B,C): if (A+B+C)%2==0: retu=B+2*C if A