A - Tires
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
A - Tires
Score : $100$ points
Problem Statement
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
.
Constraints
- $2 \le |S| \le 20$
- $S$ consists of lowercase English letters.
- $S$ ends with
er
orist
.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
atcoder
er
$S=$"atcoder
" ends with er
.
tourist
ist
er
er