#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Aug 15 14:43:29 2018

@author: olli
"""

leveys = int(input('Anna leveys: '))
korkeus = int(input('Anna korkeus: '))
for i in range(korkeus):
    for j in range(leveys):
        print('*', end='')
    print()


        
        
    
        

    

