func_code_string: #include <bits/stdc++.h>   using namespace std;   vector<int> a;   int main() {     string s;     cin >> s;     int i, l = 0, can = 0, can_too = 0;     for (i = 0; i < s.length(); i++) {       if (s[i] ==  @  && can == 0) {         can = 1;         a.push_back(i);       } else if (s[i] ==  .  && can && !can_too) {         a.push_back(i);       } else if (s[i] ==  /  && can) {         can_too = 1;         a.push_back(i);       }     }     for (i = 0; i < a.size(); i++) {       int ta, tb;       if (i == 0) {         ta = -1;         tb = a[i];       } else {         ta = a[i - 1];         tb = a[i];       }       if (abs(ta - tb) == 1) {         cout <<  NO  << endl;         return 0;       }       for (int j = ta + 1, l = 0; j < tb; j++) {         l++;         if ((s[j] <  a  || s[j] >  z ) && (s[j] <  A  || s[j] >  Z ) &&             (s[j] <  0  || s[j] >  9 ) && s[j] !=  _ ) {           cout <<  NO  << endl;           return 0;         } else if (l > 16) {           cout <<  NO  << endl;           return 0;         }       }       if (i == a.size() - 1) {         ta = a[i];         tb = s.length();         if (abs(ta - tb) == 0) {           cout <<  NO  << endl;           return 0;         }         for (int j = ta + 1, l = 0; j < tb; j++) {           l++;           if ((s[j] <  a  || s[j] >  z ) && (s[j] <  A  || s[j] >  Z ) &&               (s[j] <  0  || s[j] >  9 ) && s[j] !=  _ ) {             cout <<  NO  << endl;             return 0;           } else if (l > 16) {             cout <<  NO  << endl;             return 0;           }         }       }     }     int px = 0, py = 0;     for (i = 0; i < a.size(); i++) {       if (s[a[i]] ==  @ ) {         px = a[i];         break;       }     }     for (i = 0; i < a.size(); i++) {       if (s[a[i]] ==  / ) {         py = a[i];         break;       }     }     if (abs(py - px - 1) > 32 && px && py) {       cout <<  NO  << endl;       return 0;     }     if (a.size() == 0) {       cout <<  NO  << endl;       return 0;     }     if (a.size() == 1 && a[0] == s.length() - 1) {       cout <<  NO  << endl;       return 0;     }     for (i = 0; i < a.size(); i++) {       if (a[i] + 1 == s.length()) {         cout <<  NO  << endl;         return 0;       }     }     cout <<  YES  << endl;     return 0;   }   