#include using namespace std; int M,K; const long mod=1e9+7; long E[50][50],A[50][50],T[50][50]; main() { cin>>M>>K; for(int i=0;i>=1; for(int i=0;i