Given a number
N
and
M
, display the numbers in the form of a table of size
NxM
(
N
lines by
M
numbers per line):
1 1 1 ... 1
2 2 2 ... 2
3 3 3 ... 3
...
Input
The input is two natural numbers
N
and
M
(N, M <= 100).
Imprint
Display the numbers as a table of size
NxM
.
Examples
# |
Input |
Output |
1 |
3 5 |
1 1 1 1 1
2 2 2 2 2
3 3 3 3 3 |