#include using namespace std; int main(){ int N,K,max=0,A[20]={0}; cin >> N >> K; for(int i=0;i> A[i]; } for(int bit=0;bit<(1<