djfz-2019-s432813/TaskE03/run
2019-11-27 17:13:49 +01:00

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')