10 lines
190 B
Python
10 lines
190 B
Python
import re
|
|
import sys
|
|
|
|
for line in sys.stdin:
|
|
line = line.strip('\n')
|
|
if re.match(r'^-?[1-9][0-9]*0$|^-?[1-9][0-9]*5$|^0$', line):
|
|
print('yes')
|
|
else:
|
|
print('no')
|