#include using namespace std; #define rep(i, n) for(int i = 0; i < (int)(n); i++) int main(){ string address; cin >> address; int a, b; rep(i, address.length()){ if(address[i] == '('){ a = i; }else if(address[i] == ')'){ b = i; } } rep(i, a){ cout << address[i]; } cout << "@"; rep(i, address.length() - b - 1){ cout << address[i + b + 1]; } cout << endl; return 0; }