Cave Man Speak

A challenge by mousetail avatar mousetail

Description

A Cave man word is a word that is at most four letters and alternates vowels and consonants. Y is a vowel if and only only if it is the last letter of a word.

Print only the lines in the input that are cave man words.

Leaderboard

Author Bytes
#1 hallvabo avatar hallvabo 90
#2 MeWhenI avatar MeWhenI 92
#3 NicknamedTwice avatar NicknamedTwice 97
#4 Bulmenisaurus avatar Bulmenisaurus 101
#5 Natanaelel avatar Natanaelel 102
#6 bizy-coder avatar bizy-coder 105
#7 AlephSquirrel avatar AlephSquirrel 109
#8 albanian-laundromat avatar albanian-laundromat 150
#9 mousetail avatar mousetail 235