diff --git a/TaskB04/Makefile b/TaskB04/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/TaskB04/run b/TaskB04/run new file mode 100644 index 0000000..87f2d2c --- /dev/null +++ b/TaskB04/run @@ -0,0 +1,9 @@ +#!/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))