=====Problem Statement=====
You are given a string s consisting only of digits 0-9, commas ,, and dots .
Your task is to complete the regex_pattern defined below, which will be used to re.split() all of the , and . symbols in s.
It’s guaranteed that every comma and every dot in s is preceeded and followed by a digit.
#!/usr/bin/env python3

import re

def __starting_point():
    out = list(re.split('[.,]', input()))
    print("\n".join(filter(lambda x: re.match('[0-9]+',x), out)))
__starting_point()
#!/usr/bin/env python3

import re

def __starting_point():
    out = list(re.split('[.,]', input()))
    print("\n".join(filter(lambda x: re.match('[0-9]+',x), out)))
__starting_point()