P27295 [AtCoder] Kyu in AtCoder
入门
题目描述

Problem Description

M-kun is one of the participants in AtCoder. His highest rating is $X$.
In AtCoder, players are given a rank based on their highest rating. For ratings between $400$ and $1999$ inclusive, the ranks are as follows:

  • $400$ to $599$: $8$th Kyu
  • $600$ to $799$: $7$th Kyu
  • $800$ to $999$: $6$th Kyu
  • $1000$ to $1199$: $5$th Kyu
  • $1200$ to $1399$: $4$th Kyu
  • $1400$ to $1599$: $3$th Kyu
  • $1600$ to $1799$: $2$th Kyu
  • $1800$ to $1999$: $1$th Kyu

What rank does M-kun have?

Input Format

The input is given from the standard input in the following format:

$X$

Output Format

Output the rank that M-kun has as an integer.
For example, if it is $8$th Kyu, output 8.

Sample Input and Output

Sample Input #1

725

Sample Output #1

7

Sample Input #2

1600

Sample Output #2

2

Notes/Hints

Constraints

  • $400 \leq X \leq 1999$
  • $X$ is an integer

Sample Explanation 1

M-kun's highest rating is $725$, which corresponds to $7$th Kyu. Therefore, output $7$ to be correct.

Sample Explanation 2

M-kun's highest rating is $1600$, which corresponds to $2$th Kyu. Therefore, output $2$ to be correct.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
725
样例输出
7