https://programmers.co.kr/learn/courses/30/lessons/12969
process.stdin.setEncoding('utf8');
process.stdin.on('data', data => {
const n = data.split(" ");
const a = Number(n[0]), b = Number(n[1]);
var col = '';
for(var i=0; i<a; i++){
row = row + '*';
}
for(var j=0; j<b; j++){
console.log(row);
}
});
process.stdin.setEncoding('utf8');
process.stdin.on('data', data => {
const n = data.split(" ");
const a = Number(n[0]), b = Number(n[1]);
var row = '';
var result ='';
for (var i=0; i<a; i++) {
row = row + '*';
}
for (var j=0; j<b; j++){
console.log(row);
}
//console.log(b);
});