Skip to content

Instantly share code, notes, and snippets.

@tairov
Created February 24, 2014 09:36
Show Gist options
  • Save tairov/9184612 to your computer and use it in GitHub Desktop.
Save tairov/9184612 to your computer and use it in GitHub Desktop.
import java.math.BigInteger;
import java.util.*;
public class A
{
public static void main(String args[])
{
Scanner in=new Scanner(System.in);
String a=in.next();
String b=in.next();
BigInteger obj=new BigInteger(a);
BigInteger obj1=new BigInteger(b);
System.out.println("Sum="+obj.add(obj1));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment