100 atcoder#ABC224A. [ABC224A] Tires

[ABC224A] Tires

Score : 100100 points

Problem Statement

You are given a string SS ending with er or ist. If SS ends with er, print er; if it ends with ist, print ist.

Constraints

  • 2S202 \le |S| \le 20
  • SS consists of lowercase English letters.
  • SS ends with er or ist.

Input

Input is given from Standard Input in the following format:

SS

Output

Print the answer.

atcoder
er

S=S="atcoder" ends with er.

tourist
ist
er
er