Limits 1s, 512 MB

Grid markup is a process, where each of the grid cells is marked with a star symbol *\texttt{*}.

Your task is very simple. You are given a grid height and weight and the output is the markup grid with the star symbol *\texttt{*}.

Input

Input starts with an integer TT (1T201 \le T \le 20), the number of test cases. Each of the following TT lines contains two integers HH and WW denoting the height and weight respectively. Here 2H302 \le H \le 30 and 2W302 \le W \le 30.

Output

For each test case, print the test case serial on a line, followed by the markup grid as described in the problem statement.

Sample

InputOutput
2
2 2
2 3
Case 1:
**
**
Case 2:
***
***

Submit

Login to submit.

Contributors

Statistics

99% Solution Ratio
Dipto_DebdipEarliest, May '21
FAHIM.ctgFastest, 0.0s
Dipto_DebdipLightest, 0 B
bokaifShortest, 110B
Toph uses cookies. By continuing you agree to our Cookie Policy.