#T380. 删除单词后缀
删除单词后缀
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 0). Otherwise, perform no operation.
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 after processing it according to the given requirements.
referer
refer