Count even-vowel words X44068


Statement
 

pdf   zip

html

Tell how many words in a sequence have an even number of vowels.

Input

Input is a (possibly empty) sequence of words, each being a sequence of one or more lower-case letters without accents or diacritical marks. They may come in one or more lines.

Output

Output must be an int: the number of words in the sequence displaying an even number of the vowels a, e, i, o, u.

Observation

Note that zero is an even number. Only imports allowed are: stdin from sys, pytokr, yogi

Public test cases
  • Input

    cat mouse dog fly crocodile bat horse

    Output

    3
    
  • Input

    in a hole in the ground there lived a hobbit

    Output

    5
    
  • Input

    all happy families are alike

    Output

    2
    
  • Input

    this is my favorite book 
    in all the world 
    though i have never read it

    Output

    7
    
  • Input

       

    Output

    0
    
  • Information
    Author
    José Luis Balcázar
    Language
    English
    Official solutions
    Python
    User solutions
    Python