Problem:
Difference of Big Integers

Given two integers $A$ and $B$, compute the difference, $A - B$.

Input

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

Output

Print the difference in a line.

Constraints

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

Sample Input 1

5 8

Sample Output 1

-3

Sample Input 2

100 25

Sample Output 2

75

Sample Input 3

-1 -1

Sample Output 3

0

Sample Input 4

12 -3

Sample Output 4

15

Solution in JAVA (judge verdict: Accepted)

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

class Main{
	public static void main(String Args[]){
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		BigInteger A = new BigInteger(str);
		str = sc.next();
		BigInteger B = new BigInteger(str);
		System.out.println(A.subtract(B));
	}
}