djfz-2019-s432813/TaskE04/run

9 lines
200 B
Plaintext
Raw Normal View History

2019-11-27 17:36:29 +01:00
#!/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>')