n =int(input()) a = list(map(int,input().split())) dp=[0]*(1<> j & 1 == 0 and i >> k & 1 == 0: dp[i|1<