// Wrongri-La Shower #include bool can[5001][(1<<14)+1]; int main(){ int N; scanf("%d", &N); int A[5000]; for(int i=0;i