#C10397. Multiplication of Two Large Integers

    ID: 39597 Type: Default 1000ms 256MiB

Multiplication of Two Large Integers

Multiplication of Two Large Integers

You are given two large integers P and Q. Your task is to compute their product, i.e. \(P \times Q\). Both numbers can be very large (up to hundreds of thousands of digits), so native data types in some languages may not be suitable. Use the appropriate methods or libraries to handle arbitrary precision arithmetic.

Input and output are handled via standard input and standard output respectively.

inputFormat

The input consists of a single line containing two space-separated integers P and Q.

For example:

4 5

outputFormat

Output a single integer which is the product \(P \times Q\).

For example:

20
## sample
4 5
20