import re;print(re.sub("\(.*\)","@",input()))