Problem:
Division of Big Integers

Given two integers $A$ and $B$, compute the quotient, $\frac{A}{B}$. Round down to the nearest decimal.

Input

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

Output

Print the quotient in a line.

Constraints

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

$B \ne 0$

Sample Input 1

5 8

Sample Output 1

0

Sample Input 2

100 25

Sample Output 2

4

Sample Input 3

-1 3

Sample Output 3

0

Sample Input 4

12 -3

Sample Output 4

-4

Solution in JAVA (judge verdict: Accepted)

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigInteger;

public class Main {

	public static final int BIG_NUM = 2000000000;
	public static final int MOD = 1000000007;

	public static void main(String[] args) {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		try {
			String input[] = br.readLine().split("\\s+");

			BigInteger A = new BigInteger(input[0]);
			BigInteger B = new BigInteger(input[1]);

			BigInteger ans;

			ans = A.divide(B);
			System.out.println(ans);

		} catch (IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		}
	}
}