6286: ABC224 —— A - Tires
[Creator : ]
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.
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$
$S$
Output
Print the answer.
Constraints
$2≤∣S∣≤20$
$S$ consists of lowercase English letters.
$S$ ends with er or ist.
$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