N,K = list(map(int,input().split())) A = list(map(int,input().split())) INF = 10**18 dp = [-INF for _ in range(1<>j & 1 == 1):continue next = i|(1<