func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(0);     cin.tie(0);     cout.tie(0);     std::ios::sync_with_stdio(false);     string a;     cin >> a;     for (int i = 0; i < a.size(); i++) {       if (((int)(a[i]) >= 48 && (int)(a[i]) <= 57) ||           ((int)(a[i]) >= 97 && (int)(a[i]) <= 122) || (int)(a[i]) == 95 ||           (int)(a[i]) == 64 || (int)(a[i]) == 46 || (int)(a[i]) == 47 ||           ((int)(a[i]) >= 65 && (int)(a[i]) <= 90)) {         continue;       } else {         cout <<  NO ;         return 0;       }     }     string d =   ;     int ans1 = -1;     for (int i = 0; i < a.size(); i++) {       if (a[i] ==  @ ) {         ans1 = i;         break;       }       d += a[i];     }     if (ans1 == 0 || ans1 == -1) {       cout <<  NO ;       return 0;     }     for (int i = 0; i < d.size(); i++) {       if (d[i] ==  .  || d[i] ==  / ) {         cout <<  NO ;         return 0;       }     }     string e =   ;     int ans2 = -1;     for (int i = ans1 + 1; i < a.size(); i++) {       if (a[i] ==  / ) {         ans2 = i;         break;       }       e += a[i];     }     if (e.size() == 0) {       cout <<  NO ;       return 0;     }     if (ans2 - ans1 == 1) {       cout <<  NO ;       return 0;     }     int ans3 = 0;     for (int i = 0; i < e.size(); i++) {       if (e[i] ==  @ ) {         cout <<  NO ;         return 0;       }       if (e[i] ==  . ) {         ans3++;       }     }     if (e[e.size() - 1] ==  .  || e[0] ==  . ) {       cout <<  NO ;       return 0;     }     for (int i = 0; i < e.size() - 1; i++) {       if (e[i] ==  .  && e[i + 1] ==  . ) {         cout <<  NO ;         return 0;       }     }     if (ans2 == -1) {       cout <<  YES ;       return 0;     }     string r =   ;     for (int i = ans2 + 1; i < a.size(); i++) {       if (a[i] ==  /  || a[i] ==  .  || a[i] ==  @ ) {         cout <<  NO ;         return 0;       }     }     if (ans2 == a.size() - 1) {       cout <<  NO ;       return 0;     }     cout <<  YES ;     return 0;   }   