使用键盘输入一串字符,其中仅包含小写字母和"<--”, 其中"<--”表示一次撤销操作(删除前一个字母)
比如“ac<--booo<--<--un<--t”,则最后的输出为about
ac<--booo<--<--un<--t
about
Titan2023