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