1. 

/**
* ACM Training 2010
* ACM Problem #10106 - Product
* Link: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=13&problem=1047&mosmsg=Submission+received+with+ID+7886373
*
* @author Felix Dietrich
* @version 1.0, 04/09/2010
*
* Methode: BigInteger
* Status : Accepted
* Runtime: 0.144
*/

import java.math.BigInteger;
import java.util.*;

public class Main
{
public static void main(String... strs)
{
Scanner sc = new Scanner(System.in);

while(sc.hasNext())
{
BigInteger s1 = new BigInteger(sc.next());
BigInteger s2 = new BigInteger(sc.next());

System.out.println(s1.multiply(s2).toString());
}
}
}