#include <bits/stdc++.h>   using namespace std;   int main() {     string second;     cin >> second;     bool check = 0;     string tmp(1, second[0]);     for (int i = 1; i < second.size(); i++) {       if (second[i] ==  d  && second[i + 1] ==  o  && second[i + 2] ==  t  &&           i < second.size() - 3)         tmp +=  . , i += 2;       else if (second[i] ==  a  && second[i + 1] ==  t  && !check &&                i < second.size() - 2)         tmp +=  @ , check = 1, i++;       else         tmp += second[i];     }     cout << tmp << endl;   }   