#abc224a. [abc224_a]Tires
[abc224_a]Tires
Problem Statement
You are given a string ending with er
or ist
.
If ends with er
, print er
; if it ends with ist
, print ist
.
Constraints
- consists of lowercase English letters.
- ends with
er
orist
.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
Sample Input 1
atcoder
Sample Output 1
er
"atcoder
" ends with er
.
Sample Input 2
tourist
Sample Output 2
ist
Sample Input 3
er
Sample Output 3
er