%{
#include <stdio.h>
int vowels = 0, consonants = 0;
%}
%%
[aeiouAEIOU] { vowels++; }
[a-zA-Z] { consonants++; }
.|\n ;
%%
int main() {
yylex();
printf("Vowels: %d\nConsonants: %d\n", vowels, consonants);
return 0;
}
JXsKI2luY2x1ZGUgPHN0ZGlvLmg+CmludCB2b3dlbHMgPSAwLCBjb25zb25hbnRzID0gMDsKJX0KJSUKW2FlaW91QUVJT1VdIHsgdm93ZWxzKys7IH0KW2EtekEtWl0geyBjb25zb25hbnRzKys7IH0KLnxcbiA7CiUlCmludCBtYWluKCkgewogICAgeXlsZXgoKTsKICAgIHByaW50ZigiVm93ZWxzOiAlZFxuQ29uc29uYW50czogJWRcbiIsIHZvd2VscywgY29uc29uYW50cyk7CiAgICByZXR1cm4gMDsKfQo=