15 lines
224 B
Python
Executable File
15 lines
224 B
Python
Executable File
#!/usr/bin/python3
|
|
|
|
import sys
|
|
import re
|
|
|
|
for input in sys.stdin.readlines():
|
|
answer = re.findall('\d+',input);
|
|
if answer:
|
|
z = ""
|
|
for x in range(0, len(answer)):
|
|
z=z+str(answer[x])+" "
|
|
print(z[:-1])
|
|
else:
|
|
pass
|