#include using namespace std; const int mod=1e9+7; int K,N; int dp[2<<17]; int x[1<<17]; main() { scanf("%d%d",&K,&N); for(int i=0;i