# your code goes here
height = int(input("Enter the height of the rectangle: "))
width = int(input("Enter the width of the rectangle: "))
i = 0
while(i < height) :
j = 0
while( j < width ):
print(end="* ")
j = j+1
print("")
i = i + 1
IyB5b3VyIGNvZGUgZ29lcyBoZXJlCmhlaWdodCA9IGludChpbnB1dCgiRW50ZXIgdGhlIGhlaWdodCBvZiB0aGUgcmVjdGFuZ2xlOiAiKSkKd2lkdGggPSBpbnQoaW5wdXQoIkVudGVyIHRoZSB3aWR0aCBvZiB0aGUgcmVjdGFuZ2xlOiAiKSkKaSA9IDAKCndoaWxlKGkgPCBoZWlnaHQpIDoKICAgIGogPSAwCiAgICB3aGlsZSggaiA8IHdpZHRoICk6CiAgICAgICAgcHJpbnQoZW5kPSIqICIpCiAgICAgICAgaiA9IGorMQogICAgcHJpbnQoIiIpCiAgICBpID0gaSArIDE=