1861 切糕


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

老张伯伯是个切糕好手。他切出来的糕整齐而平滑。只见他挥手之间,糕已经整齐地一块块切好。呵呵,到底是手工切的,难道用计算机切糕的速度还会输他不成?

Input

一些整数对M,N(0<M,N<80),表示糕的行数和列数。

Output

对于每个整数对M、N,输出一个以*填充字符的矩形,其高为M,宽为N。

Sample

Input

2 4 1 3 3 5

Output

****
****
***
*****
*****
*****

Source: qn


Comments

There are no comments at the moment.