Diagnostic Test 2016 Level 1
Problem 3: Faxen Words
Even types of words are rather different in Croneria. A noun to them is a word that starts with a capital letter that isn't a vowel. A verb to them is a word that starts with a capital letter that is a vowel. An adjective is a word that does not start with a capital letter.
The way they classify words is weird too. A word is an odd adjective if it's an adjective and its third character is a consonant. A word is a fancy noun if it's a noun and its fourth character is a vowel. A word is a boring verb if it's a verb and its fifth character is either 'x', 'y', 'z', or 'q'.
As per usual, the students have turned to you for help. Given a word that is guaranteed to be at least 5 characters, output what word types the word is.
noun fancy noun
adjective odd adjective
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3