9 lines
200 B
Python
9 lines
200 B
Python
#!/usr/bin/python3
|
|
|
|
import sys, re
|
|
for line in sys.stdin:
|
|
if (re.search(r'(^(0[0-9]|1[0-9]|2[0-3]|[0-9]):[0-5][0-9]$)', line)):
|
|
print((line.split(':', 1)[1]).rstrip('\n'))
|
|
else:
|
|
print('<NONE>')
|