#include using namespace std; bool dp[5001][1<<15]; main() { int n;cin>>n; int a[5000];for(int i=0;i>a[i]; dp[0][0]=1; for(int i=0;i