#include<bits/stdc++.h> using namespace std; int main(){ int i,n,b,m; cin>>m>>N; for(i=1;i<=m;i++){ for(b=1;b<=n;b++){ cout<<'#'; } cout<<endl; } }