T = input() i = T.index("(") j = T.index(")") at = T[i:j+1] print(T.replace(at, "@"))