10 lines
153 B
Plaintext
10 lines
153 B
Plaintext
|
#!/usr/bin/python3
|
||
|
|
||
|
import sys
|
||
|
import re
|
||
|
|
||
|
for line in sys.stdin:
|
||
|
if re.match(r'^(\$[1-9]+[0-9]*)$',line):
|
||
|
print("yes")
|
||
|
else: print("no")
|