|
|||
Vowel or Odd NumberEach card in a deck has an uppercase letter of the English alphabet on one side, and an integer number on the other side. There is exactly one letter and one number on each card. Somebody makes the following statement about this card deck: “If there is a vowel on the letter side of a card, then its number side shows an even number.” (Vowels are the following letters: A, E, I, O, and U.) To determine whether this statement is true, we obviously have to have a look at the other side of certain cards. Your task is to write a program that
Input Specification
The input consists of multiple test cases. Each line of a test case contains either an
uppercase letter of the English alphabet or an integer. Test cases are terminated by a line
containing the string “ Output SpecificationFor each test case, your program should output one line containing one integer: the minimum number of cards that need to be flipped over. Sample Input
Output for Sample Input
|
|||
University of Debrecen; Faculty of Informatics; v. 09/30/2024 |