Problem:
Addition of Big Integers

Given two integers $A$ and $B$, compute the sum, $A + B$.

Input

Two integers $A$ and $B$ separated by a space character are given in a line.

Output

Print the sum in a line.

Constraints

$-1 \times 10^{100000} \leq A, B \leq 10^{100000}$

Sample Input 1

5 8

Sample Output 1

13

Sample Input 2

100 25

Sample Output 2

125

Sample Input 3

-1 1

Sample Output 3

0

Sample Input 4

12 -3

Sample Output 4

9

Solution in JAVA (judge verdict: Accepted)


    import java.math.BigInteger;
    import java.util.Scanner;

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

            String[] str;
            str = s.split(" ");
            BigInteger a = new BigInteger(str[0]);
            BigInteger b = new BigInteger(str[1]);

            BigInteger c = a.add(b);

            System.out.println(c);
        }
    }