import java.math.BigInteger;import java.util.*;import java.io.*;public class Main{ public static void main(String args[]) { Scanner in=new Scanner(System.in); BigInteger a=in.nextBigInteger(); BigInteger b=in.nextBigInteger(); BigInteger ans=a.multiply(b); System.out.println(ans); }}