djfz-2020-s444344/TaskB04/run
Zofia Bączyk 59b10f7a53 attempt 1
2020-11-22 14:08:47 +01:00

10 lines
170 B
Python

#!/usr/bin/python3
import sys
import re
for line in sys.stdin:
substrings = re.findall(r'\d+',line)
if len(substrings) > 0:
print(' '.join(substrings))