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