import re print(re.sub('\(\S*\)','@',input()))