P23115 [AtCoder] Integer Division Returns
入门
题目描述

Problem Statement

Given an integer X between -10^{18} and 10^{18}, inclusive, print $\left\lceil \dfrac{X}{10} \right\rceil$.
Here, $\left\lceil a \right\rceil$ denotes the smallest integer not less than a.

Input

The input is given from Standard Input in the following format:
X

Output

Print $\left\lceil \dfrac{X}{10} \right\rceil$ as an integer.

Constraints

  • -$10^{18} \leq X \leq 10^{18}$
  • X is an integer.

Sample Input 1

27

Sample Output 1

3

The integers not less than $\frac{27}{10} = 2.7$ are $3, 4, 5, \dots.$ Among these, the smallest is 3, so $\left \lceil \frac{27}{10} \right \rceil = 3$.

Sample Input 2

-13

Sample Output 2

-1

The integers not less than $\frac{-13}{10} = -1.3$ are all positive integers, 0, and -1. Among these, the smallest is -1, so $\left \lceil \frac{-13}{10} \right \rceil = -1$.

Sample Input 3

40

Sample Output 3

4

The smallest integer not less than $\frac{40}{10} = 4$ is 4 itself.

Sample Input 4

-20

Sample Output 4

-2

Sample Input 5

123456789123456789

Sample Output 5

12345678912345679

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
27
样例输出
3