Bajtazar has taken up writing poetry. He is an innovative and original author, and his main difficulty is choosing words and lines so that they rhyme.
Bajtazar considers two lines to rhyme when both of the following hold:
a, e, i, o, u, and y).A line made of fewer than k letters is too short to be treated as rhyming with anything.
Your task is to determine how many of the given pairs of lines rhyme, according to Bajtazar's definition.
The first line of standard input contains two integers n and k (1≤n≤1000, 1≤k≤1000): the number of line pairs to check and the length of the ending fragment that decides whether two lines may rhyme.
The next 2n lines contain the pairs of lines. Each line is written on its own row and consists of lowercase English letters and spaces.
The length of a line (including spaces) never exceeds 2000. You may assume that in at least 80% of the test data no line contains any spaces; in the remaining cases spaces can appear, so your program must handle them.
Print a single integer: the number of rhyming pairs of lines.