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