/* -*- coding: utf-8 -*- * * 2041.cc: No.2041 E-mail Address - yukicoder */ #include #include using namespace std; /* constant */ const int MAX_N = 100000; /* typedef */ /* global variables */ char t[MAX_N + 4]; /* subroutines */ /* main */ int main() { scanf("%s", t); char *cpt = t; while (*cpt != '(') putchar(*(cpt++)); while (*cpt != ')') cpt++; putchar('@'); cpt++; while (*cpt) putchar(*(cpt++)); putchar('\n'); return 0; }