import sys input = sys.stdin.readline def solve(): n,x = map(int,input().split()) c = list(map(int,input().split())) ans = float('INF') l = [] for i in c: if (x >> i) & 1 == 1: continue y = x y += 1<> j) & 1 == 1: y -= 1<> j) & 1 == 0: z += 1<