Pentavocalic Word Lines X15790


Statement
 

pdf   zip

thehtml

Find out whether the input includes a line in which all the words are pentavocalic. A word is pentavocalic if each of the characters ’a’, ’e’, ’i’, ’o’, ’u’ do appear at least once in the word.

Input

Input is a sequence of zero or more lines, each consisting of zero or more words. All words consist of only lower-case letters, and are separated by one or more blank spaces. Note that the input may include lines with no words (i.e. empty lines, or lines consisting only of whitespaces).

Output

Output must be a copy of the first line in which all the words are pentavocalic, if such a line exists. Otherwise, the output must be the sentence "No all-pentavocalic line was found". Empty or all-whitespace lines must be ignored.

Public test cases
  • Input

    skip this line
    aeiou uoiea
    the previous line must be the output
    
    

    Output

    aeiou uoiea
    
  • Input

    aeiou not this one
    uoiea eeooaaiiuu alaeleilioloulu almost
    euphoria revolutionary equation
    the previous line works
    
    

    Output

    euphoria revolutionary equation
    
  • Input

    not this one
    sustentation started well but no
    ultraligero not this one either
    escualidos arquipteros mordisqueaba meditabundo murcielago
    orquideas obsequia perdulario aurelio
    the previous line also works but the earlier one wins
    
    

    Output

    escualidos arquipteros mordisqueaba meditabundo murcielago
    
  • Input

    subdominant
    
    fail suroccidental sublevation
    fennougrian neoculteranism urogenital stop
    
    

    Output

    No all-pentavocalic line was found
    
  • Input

              
              
                 
    
    

    Output

    No all-pentavocalic line was found
    
  • Information
    Author
    Language
    English
    Official solutions
    Python
    User solutions
    Python