%{
int v = 0;
int c = 0;
%}

%%
[aeiouAEIOU] v++;
[a-zA-Z] c++;
. ;
%%

int main(void) {
    yylex();
    printf("%d vowels\n", v);
    printf("%d consonants\n", c);
}

int yywrap() {
    return(1);
}