djfz-2020-s444399/TaskC33/run

12 lines
176 B
Plaintext
Raw Normal View History

2020-11-15 23:08:11 +01:00
#!/usr/bin/python3
import sys
import re
for input in sys.stdin.readlines():
answer = re.search('^([AGCT]+|[AGCU]+)$',input);
if answer:
print("yes")
else:
print("no")