Problem6286--ABC224 —— A - Tires

6286: ABC224 —— A - Tires

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 256 MiB

Description

You are given a string $S$ ending with er or ist.
If $S$ ends with er, print er; if it ends with ist, print ist.

Input

Input is given from Standard Input in the following format:
$S$

Output

Print the answer.

Constraints

$2≤∣S∣≤20$
$S$ consists of lowercase English letters.
$S$ ends with er or ist.

Sample 1 Input

atcoder

Sample 1 Output

er
S="atcoder" ends with er.

Sample 2 Input

tourist

Sample 2 Output

ist

Sample 3 Input

er

Sample 3 Output

er

Source/Category