【栈】打字练习
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
在打字时,经常会因为打错了需要按退格键删除,现在给出一段打字时的按键,其中可能包含若干退格键(用@表示),请输出最终实际打出的内容
输入格式
一行一个字符串s,不含空格
输出格式
一行一个字符串
样例 #1
样例输入 #1
@hello123@@@world
样例输出 #1
helloworld
提示