#include using namespace std; typedef long long ll; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define INF32 2147483647 #define ALL(x) x.begin(), x.end() vector ddx = {0, 1, 0, -1, 1, 1, -1, -1}; vector ddy = {1, 0, -1, 0, 1, -1, -1, 1}; int main() { string t;cin>>t; regex reg{R"(\(\w*\))"}; string s = regex_replace(t,reg,"@"); cout<< s <