#include using namespace std; int main(){ string s;cin>>s; for(int i = 0; s.size() > i; i++){ if(s[i] == '('){ while(s[i] != ')')i++; cout << "@"; }else{ cout << s[i]; } } cout << endl; }