Woburn Idol

View as PDF

Submit solution

Points: 3
Time limit: 1.0s
Memory limit: 16M

Problem type
Peg Test - March 9

Yesterday, Woburn held a singing competition to select the next Woburn Idol. The judges, however, were unfair and judged people simply based on their names. If the number of As in a contestants name was equal to or greater than the other number of other vowels in their name, then they would advance to the next round. Given the name of a contestant, find out if they advance to the next round.

Note: The judges do not consider the letter y a vowel.

Input Specification

A name (less than 256 characters in length)

Output Specification

Output Advance to next round if the contestant will advance or Does not advance to next round if they do not.

Sample Input 1

Saravannan

Sample Output 1

Advance to next round

Sample Input 2

Joyce

Sample Output 2

Does not advance to next round

Comments

There are no comments at the moment.