5568: AtCoder Quiz 2-AtCoder测验2(ABC219A)

内存限制:1024 MB 时间限制:2.000 S
评测方式:文本比较 命题人:
提交:0 解决:0

题目描述

 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$.

Xiaoniu 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.

在AtCoder王国,有一项标准化的竞技编程能力测试。

考生将获得一个0到100分的分数,并根据分数获得以下等级

    新手:分数不低于0但低于40:
    中级:分数不低于40但低于70;
    高级:分数不低于70但低于90;
    专家:分数不低于90。
小牛在这次考试中得到了X分。
请计算他至少还需要多少分才能提升到更高的等级。但是,如果他的等级已经是专家,请输出expert,因为没有比专家更高的等级了。

输入

X

输出

Print the answer.

样例输入 复制

56

样例输出 复制

14

提示

 Constraints:

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

来源/分类