'''
name = input("Enter the name:")
age = int(input("Enter your Age:"))
sex = input("Enter your Sex:")

print("Hi I'm {}. My age is {} and i'm {}".format(name, age, sex))

a, b = [int(x) for x in input('Enter the numbers: ').split()]

a,b,c = [int(x) for x in input("Enter the number to sum: ").split()]
print("The Sum:", a+b+c)
'''

x = input()
y = int(input())

print(x*y)