提交时间:2025-12-26 17:41:44

运行 ID: 78515

s = input() if s[-2:] == 'er' or 'ly': s = s[:-2] if s[-3:] == 'ing': s = s[:-3] print(s)