djfz-2020-s444344/TaskB04/run

10 lines
170 B
Plaintext
Raw Normal View History

2020-11-22 14:08:47 +01:00
#!/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))