UVA10106:

Product

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


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

		while(sc.hasNextLine()){

			String num1 = sc.nextLine();
			String num2 = sc.nextLine();

			BigInteger n1 = new BigInteger(num1);
			BigInteger n2 = new BigInteger(num2);


			BigInteger product = n1.multiply(n2);

			System.out.println(product);


		}

	}
}
[Back to Listing Page]

Home

Posts

Projects

Github

Contact

janzzen

Developed by Janzzen Ang powered by Vercel