djfz-2019-s426197/TaskX03/run.py
2019-10-22 14:59:02 +02:00

9 lines
149 B
Python

import sys
import re
pattern = '[A-Za-z]+'
for line in sys.stdin:
match = re.match(pattern, line).group(0)
print str(len(match))+" "+match