#!/usr/bin/python3 import sys, re for line in sys.stdin: if (re.search(r'(^[aeiouy][^aeiouy]*$|^[^aeiouy]+[aeiouy]$|^[^aeiouy]+[aeiouy][^aeiouy]+$)', line)): print('true') else: print('false')