#include using namespace std; void chmax(double& a, double b){ a = max(a, b); } void chmin(double& a, double b){ a = min(a, b); } int nth_bit(int64_t num, int n){ return (num >> n) & 1; } int main(){ int N; cin >> N; vector A(N); for(int i=0; i> A[i]; int B = 1< sum1); } for(int s0=B-1; s0>=0; s0--) for(int s1=B-1; s1>=0; s1--) if((s0&s1) == 0 && (s0|s1) != B-1){ vector yet; for(int i=0; i