Java BigInteger

  • + 0 comments

    public class Solution {

    public static void main(String[] args) {
    
        Scanner sc= new Scanner(System.in);
       BigInteger x=new BigInteger(sc.next());
       BigInteger y=new BigInteger(sc.next());
      System.out.println( x.add(y));
      System.out.println(x.multiply(y));
    
    }
    

    }