100 atcoder#ABC224A. [ABC224A] Tires
[ABC224A] Tires
Score : points
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.
atcoder
er
"atcoder
" ends with er
.
tourist
ist
er
er