t=input() ans="" for i in range(t.index("(")): ans+=t[i] ans+="@" for i in range(t.index(")")+1,len(t)): ans+=t[i] print(ans)