#abc239b. [abc239_b]Integer Division
[abc239_b]Integer Division
Problem Statement
Given an integer between and (inclusive), print .
Notes
For a real number , denotes "the maximum integer not exceeding ". For example, we have $\\left\\lfloor 4.7 \\right\\rfloor = 4, \\left\\lfloor -2.4 \\right\\rfloor = -3$, and . (For more details, please refer to the description in the Sample Input and Output.)
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print . Note that it should be output as an integer.
Sample Input 1
47
Sample Output 1
4
The integers that do not exceed are all the negative integers, , and . The maximum integer among them is , so we have .
Sample Input 2
-24
Sample Output 2
-3
Since the maximum integer not exceeding is , we have $\\left\\lfloor \\frac{-24}{10} \\right\\rfloor = -3$.
Note that does not satisfy the condition, as exceeds .
Sample Input 3
50
Sample Output 3
5
The maximum integer that does not exceed is itself. Thus, we have .
Sample Input 4
-30
Sample Output 4
-3
Just like the previous example, $\\left\\lfloor \\frac{-30}{10} \\right\\rfloor = -3$.
Sample Input 5
987654321987654321
Sample Output 5
98765432198765432
The answer is . Make sure that all the digits match.
If your program does not behave as intended, we recommend you checking the specification of the programming language you use.
If you want to check how your code works, you may use "Custom Test" above the Problem Statement.