func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     string vowel =  AEIOUYaeiouy ;     string in;     char s;     bool x = false;     getline(cin, in);     int h = in.size();     for (int k = (h - 1); k >= 0; k--) {       if (isalpha(in[k])) {         s = in[k];         break;       }     }     for (int i = 0; i < vowel.size(); i++) {       if (s == vowel[i]) {         x = true;         break;       }     }     if (x == true)       cout <<  YES ;     else       cout <<  NO ;   }   