#include using namespace std; using ll=long long; ll N,K,A[28]; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cin>>N>>K; for(int i=0;i>A[i]; vectora(N,0); for(int i=0;i