#include #include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); string S; cin >> S; S = S.substr(0,S.find('(')) + "@" + S.substr(S.find(')')+1); cout << S << "\n"; return 0; }