﻿using System;
using System.Numerics;

namespace SumBigNumbers
{
    class Program
    {
        static void Main(string[] args)
        {
            BigInteger first = BigInteger.Parse(Console.ReadLine());
            BigInteger second = BigInteger.Parse(Console.ReadLine());
            Console.WriteLine(first * second);

        }
    }
}
