def main():
    strings = input('enter any word: ')
    num = int(input('enter any integer: '))
    repeat(strings, num)
def repeat(x,y):
    repeat_string = x * y
    print(repeat_string) 
main()        