func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(0);     cin.tie(0);     cout.tie(0);     string a;     cin >> a;     char vowels[5] = { a ,  e ,  i ,  o ,  u };     for (int i = 0; i < a.size() - 1; ++i) {       bool flag = false;       for (int k = 0; k < 5; ++k) {         if (a[i] == vowels[k]) {           flag = true;           break;         }       }       if (a[i] ==  n ) flag = true;       if (flag) {         continue;       }       for (int k = 0; k < 5; ++k) {         if (a[i + 1] == vowels[k]) {           flag = true;           break;         }       }       if (flag == false) {         cout <<  NO  << endl;         return 0;       }     }     int n = a.size();     bool flag = false;     for (int k = 0; k < 5; ++k) {       if (a[n - 1] == vowels[k]) {         flag = true;         break;       }     }     if (a[n - 1] ==  n ) flag = true;     if (flag == true)       cout <<  YES  << endl;     else       cout <<  NO ;     return 0;   }   