12 lines
176 B
Plaintext
12 lines
176 B
Plaintext
|
#!/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")
|