a=input() str=a b=(a.find("(")) c=(a.find(")")) print(a.replace(a[b:c+1], "@"))