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.util.*;
import java.io.*;
import java.math.*;

public 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.divide(b));
    }
}