//Normal-2 #define _GLIBCXX_DEBUG #define ll long long #include using namespace std; using Graph = vector>; void p(auto a){ cout << a; } void ps(auto a){ cout << a << " "; } void ps(){ cout << " "; } void pl(auto a){ cout << a << endl; } void pl(){ cout << endl; } void fix15(){ cout << fixed << setprecision(15); } void YES(){ pl("YES"); } void NO(){ pl("NO"); } void Yes(){ pl("Yes"); } void No(){ pl("No"); } void yes(){ pl("yes"); } void no(){ pl("no"); } //Normal-2 int main(){ string S; cin >> S; int s = (int)S.size(); int l = -1, r = -1; for(int i = 0; i < s; i++){ if(S[i] == '(') l = i; if(S[i] == ')') r = i; } p(S.substr(0, l)); p("@"); pl(S.substr(r+1, s)); }