#include using namespace std; int n; int d[16]; int dp[1<<16]; int main(){ cin>>n; for(int i=0;i>d[i]; dp[0]=100; for(int i=0;i<(1<