#T607. 删除单词后缀
删除单词后缀
Description
Given a word, if the word ends with the suffix "er", "ly", or "ing", then remove that suffix (it is guaranteed that the length of the word after removing the suffix will not be zero). Otherwise, no action should be taken.
Input Format
Input consists of one line containing a word (there are no spaces within the word, and the maximum length of the word is 32).
Output Format
Output the word processed according to the given requirements.
```input1 referer```output1
refer
翻译结果
CodesOnline