import re
from typing import Pattern
string = input()
res = re.split('[,.]', string)
for i in res:
    print(i)

e78d426f3ef4bb18d09ad14e180d1aed1c439af2
<mask token>

<mask token>
for i in res:
    print(i)

<mask token>
string = input()
res = re.split('[,.]', string)
for i in res:
    print(i)

import re
from typing import Pattern
string = input()
res = re.split('[,.]', string)
for i in res:
    print(i)
