{ ll @n,@m; rep(x,1,m+1){ ll a=n/x; ll b=n%x; if(b==x-1){ wt(Mint(a+1)**b*Mint(a)); }else{ wt(Mint(a+1)**b*Mint(a)**(x-b-1)*Mint(a-1)); } } }