#T810. 删除单词后缀

删除单词后缀

Description

Given a word, if the word ends with the suffix "er", "ly", or "ing", remove that suffix (the problem guarantees that the length of the word after removing the suffix will not be 0). Otherwise, perform no operation.

Input Format

Input one line containing a word (there are no spaces in the word, and the maximum length of the word is 32).

Output Format

Output the word processed according to the requirements.

```input1 referer
```output1
refer

译文

CodesOnline