9 lines
200 B
Python
9 lines
200 B
Python
#!/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')
|