from collections import * from itertools import * from functools import * from heapq import * import sys,math input = sys.stdin.readline N = int(input()) F = [list(map(int,input().split())) for _ in range(N)] INF = (1<<60) dp = [-INF]*(1<>j)&1: continue T.append(j) n = len(T) for j in range(n-1): tj = T[j] jj = (1<