After failing his entire computer science class (including you), Mr. DeMello is feeling optimistic and struggling on today's Wordle.
Since you want to exploit this to boost your mark help Mr. DeMello, he has tasked you with a make-up assignment: determine if his Wordle guess is good.
A good guess is a word that has or more vowels (the vowels are aeiouy
).
Given a -letter lowercase word, , output good
if it is a good guess; if it is not a good guess, output bad
.
Can you help your grade?
Input Specification
The first line will contain (, where denotes the length of string ), the word to determine if it is good.
Output Specification
Output good
if is a good word; otherwise, output bad
.
Sample Input 1
keven
Sample Output 1
good
Sample Input 2
wordd
Sample Output 2
bad
Comments
does the person who made this know what a vowel is? that is the true problem here.
I wish.