#include using namespace std; #define ll long long int n,k,a[21],sum=-1; int main(){ cin>>n>>k; for(int i=0;i>a[i]; for(int bit=0;bit<(1<