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