import java.math.*;

class Main {
	public static void main(String[] args) {
	    BigInteger x = new BigInteger("12345678901234567890");
	    BigInteger y = new BigInteger("9876543210");
		System.out.println(x.multiply(y));
    }
}

//https://pt.stackoverflow.com/q/115809/101