题目描述
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.
Input
Input is given from Standard Input in the following format:
S
Output
Print the answer.
Constraints
- $2 \le |S| \le 20$
- S consists of lowercase English letters.
- S ends with er or ist.
Sample Input 1
atcoder
Sample Output 1
er
S="atcoder" ends with er.
Sample Input 2
tourist
Sample Output 2
ist
Sample Input 3
er
Sample Output 3
er
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分
样例输入
atcoder
样例输出
er