A - Century
Editorial
/


Time Limit: 2 sec / Memory Limit: 1024 MB
配点 : 100 点
問題文
西暦 N 年は何世紀ですか?
世紀とは?
西暦 1 年から 100 年までを 1 世紀、 101 年から 200 年までを 2 世紀と、以降も同様に西暦を 100 年単位で区切って呼称したものです。制約
- 1 \le N \le 3000
入力
入力は以下の形式で標準入力から与えられる。
N
出力
答えを整数として出力せよ。
入力例 1
2021
出力例 1
21
今年、西暦 2021 年は 21 世紀です。
入力例 2
200
出力例 2
2
西暦 200 年は 2 世紀です。
Score : 100 points
Problem Statement
In what century is the year N?
What is century?
A century is a period of 100 years. For example, the 1-st century consists of the years 1 through 100, the 2-nd century consists of the years 101 through 200, and so on.Constraints
- 1 \le N \le 3000
Input
Input is given from Standard Input in the following format:
N
Output
Print the answer as an integer.
Sample Input 1
2021
Sample Output 1
21
This year 2021 is in the 21-st century.
Sample Input 2
200
Sample Output 2
2
The year 200 is in the 2-nd century.