Contest Duration: - (local time) (100 minutes) Back to Home
A - AtCoder Quiz 2 /

Time Limit: 2 sec / Memory Limit: 1024 MB

### 問題文

AtCoder 王国では、競技プログラミングの実力を測る検定試験が実施されています。

ランクは以下のように定められています。

• 0 点以上 40 点未満のとき、初級
• 40 点以上 70 点未満のとき、中級
• 70 点以上 90 点未満のとき、上級
• 90 点以上のとき、エキスパート

### 制約

• 0 \leq X \leq 100
• X は整数

### 入力

X


### 入力例 1

56


### 出力例 1

14


### 入力例 2

32


### 出力例 2

8


### 入力例 3

0


### 出力例 3

40


### 入力例 4

100


### 出力例 4

expert


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:

X


### Sample Input 1

56


### Sample Output 1

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.

### Sample Input 2

32


### Sample Output 2

8


### Sample Input 3

0


### Sample Output 3

40


### Sample Input 4

100


### Sample Output 4

expert


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