Multiply P31761


Statement
 

pdf   zip

thehtml

Write a program that computes the product of two given natural numbers.

Input

Input consists of two natural numbers.

Output

Print the product of the two numbers.

Hint

In this problem, numbers can be veeeeeeeeeeeeeeeeeeeeeeeery large.

Public test cases
  • Input

    12345
    97531
    

    Output

    1204020195
    
  • Information
    Author
    Jordi Petit
    Language
    English
    Other languages
    Catalan
    Official solutions
    C++
    User solutions
    C++ Haskell Python