You are given a 0-indexed array of strings words and a 2D array of integers queries.
Each query queries[i] = [l_i, r_i] asks for the number of strings in the range l_i to r_i (both inclusive) of words that start and end with a vowel.
Return an array ans of size queries.length, where ans[i] is the answer to the i-th query. The vowel letters are a, e, i, o and u.