#C. A - AtCoder Quiz 2

    传统题 1000ms 256MiB

A - AtCoder Quiz 2

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

A - AtCoder Quiz 2

Score : $100$ points

Problem Statement

In the Kingdom of AtCoder, there is a standardized test of competitive programming proficiency.

An examinee will get a score out of $100$ and obtain a rank according to the score, as follows:

  • Novice, for a score not less than $0$ but less than $40$;
  • Intermediate, for a score not less than $40$ but less than $70$;
  • Advanced, for a score not less than $70$ but less than $90$;
  • Expert, for a score not less than $90$.

Takahashi took this test and got $X$ points.

Find the minimum number of extra points needed to go up one rank higher. If, however, his rank was Expert, print expert, as there is no higher rank than that.

Constraints

  • $0 \leq X \leq 100$
  • $X$ is an integer.

Input

Input is given from Standard Input in the following format:

XX

Output

Print the answer.


56
14

He got $56$ points and was certified as Intermediate. In order to reach the next rank of Advanced, he needs at least $14$ more points.


32
8

0
40

100
expert

He got full points and was certified as Expert. There is no rank higher than that, so print expert.

2025寒假ATC码力训练营第四次练习

未参加
状态
已结束
规则
IOI
题目
6
开始于
2025-1-21 13:00
结束于
2025-1-21 14:30
持续时间
1.5 小时
主持人
参赛人数
6