Domo is a brilliant dog. When he makes the correct calculation, he will be happy.
Unfortunately, if Domo gets a big integer that int or long long can't store, he can't calculate the correct answer, which makes him very disappointed.
One day, Domo gets another big integer A and an integer B. Please make use of arrays to help Domo to compute A * B, or Domo will blame you.
Given two big numbers A, B, please compute A * B. Notice that B is not bigger than 20.
Input
The first line contains an integer that denotes the length of A. The following line contains the big integer A.
The third line contains the integer B.
(1 ≤ number of digits of A ≤ 100, 1 ≤ B ≤ 20, both A and B are integers ≥ 0)
Output
An integer that denotes A * B.
Note that you don't need to print '\n' at the end of the output.
# Sample Input 1
5
12345
2
# Sample Input 2
17
38126378146999016
19
# Sample Output 1
24690
# Sample Output 2
724401184792981304
Answers
Answered by
0
Answer:
जय भोलेजय भोलेजय भोलेजय भोलेजय भोलेजय भोलेजय भोलेजय भोलेजय भोलेजय भोलेजय भोलेजय भोलेजय भोलेजय भोले
Similar questions