func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     string s;     getline(cin, s);     long long n = s.length(), i = n - 1;     while (1) {       if ((s[i] >= 65 && s[i] <= 91) || (s[i] >= 97 && s[i] <= 122)) {         if (s[i] ==  a  || s[i] ==  y  || s[i] ==  e  || s[i] ==  i  ||             s[i] ==  o  || s[i] ==  u ) {           cout <<  YES  << endl;           break;         } else if (s[i] ==  A  || s[i] ==  Y  || s[i] ==  E  || s[i] ==  I  ||                    s[i] ==  O  || s[i] ==  U ) {           cout <<  YES  << endl;           break;         } else {           cout <<  NO  << endl;           break;         }       }       i--;     }   }   