t = int(input()) for i in range(0,t): x = int(input()) if x%4 ==0 and x%100!=0: print("Yes") else: print("No")