S = list(input()) U = "".join(S[S.index("("):S.index(")")+1]) print("".join(S).replace(U, "@"))