This page is still under construction.

Parts of this page are still being built. What you see may change.

Rectangles

Time limit2sMemory limit512 MB

Summary
Read R and C, then print R lines of C asterisks each to draw a rectangle.
Level

Easy1 of 10

Topics
Implementation
Solved
No attempts yet

Problem

Read two integers RR and CC, then print RR lines that each contain CC asterisks *. The printed shape is a rectangle CC characters wide and RR lines tall.

Input

The first line contains the integer RR, the number of lines to print.

The second line contains the integer CC, the number of asterisks to print on each line.

1≤R,C≤201 \le R, C \le 20.

Output

Print RR lines, each holding CC asterisks *.

Examples2

  1. Example 1

    Input
    3
    5
    
    Expected output
    *****
    *****
    *****
    
  2. Example 2

    Input
    2
    10
    
    Expected output
    **********
    **********