func_code_string: #include <bits/stdc++.h>   using namespace std;   signed main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     cout.tie(NULL);     string s;     getline(cin, s);     for (auto i = s.end() - 1; i >= s.begin(); i--) {       if ((int(*i) >= 65 && (int(*i) <= 90)) ||           (int(*i) >= 97 && (int(*i) <= 122))) {         if (*i ==  A  || *i ==  E  || *i ==  I  || *i ==  O  || *i ==  U  ||             *i ==  a  || *i ==  e  || *i ==  i  || *i ==  o  || *i ==  u  ||             *i ==  y  || *i ==  Y )           cout <<  YES ;         else           cout <<  NO ;         return 0;       }     }   }   