import re;r=re.sub while~0:print r(r("_","aeiou]","[^_+|[_([_+|[^_*[_|)"),'(\g<0>)',raw_input())