LearnPy Hub
← Arena
IntermediateRating 1300

Multiply Long Numbers

Multiply two non-negative integers given as text, digit by digit (school method). Print the product.

Input

Two lines, each a number with up to 500 digits.

Output

One integer.

Sample 1

Input
2
3
Output
6

Sample 2

Input
123
456
Output
56088
solution.py
Output appears here
Multiply Long Numbers · Python Arena problem · LearnPy Hub