...if I'm to choose between one evil and another, then I prefer not to choose at all.
-- Geralt (The Last Wish)
Geralt of Rivia is a legendary witcher of the School of the Wolf active throughout the 13th century. During the Trial of the Grasses or Herbs, Geralt exhibited unusual tolerance for the mutagens that grant witchers their abilities. Accordingly, Geralt was subjected to further experimental mutagens which rendered his hair white and may have given him greater speed, strength, and stamina than his fellow witchers. After undergoing the trial, Geralt became a powerful monster slayer.
Geralt's story is not one of those heroes, instead it's a story of a professional. His profession is to kill monsters. But he only kills a monster if its evil or harmful to other beings. How does he determine if the monster is harmful you may ask. Well, it's in the name of the monsters. If the name of the monster contains any single vowel (a, e, i, o, u), the monster is considered as evil.
In this problem, you will be given the names of the monsters. You have to determine whether Geralt will kill them or not.
The first line of the input contains an integer , the number of monster names you will be given.
Following lines each contain a single string , the name of the monster. The name can contain lowercase English alphabet, the character '_' (underscore), and '.' (dot).
Here, denotes the length of the string .
For each name, print "Yes" (without the quotes) if the monster is evil. Otherwise, print "No" (without the quotes).
2 ynfr odimm
Login to submit