Peg Test - March 9

Question 2

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

A name (less than 256 characters in length)

Output

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

Sample Input

Saravannan

Sample Output

Advance to next round

Sample Input

Joyce

Sample Output

Does not advance to next round

All Submissions
Best Solutions


Point Value: 3
Time Limit: 2.00s
Memory Limit: 16M
Added: Mar 08, 2011

Languages Allowed:
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3

Comments (Search)

I tried this question and it gave me 10/15 because of case sensitive words such as A and e. I used toLowerCase and I got 15/15. I think you guys should fix that

I don't think so, since you ASSUMED that it was only lower case, the statement never said something about that, so its technically your fault for not noticing that.