15 lines
224 B
Plaintext
15 lines
224 B
Plaintext
|
#!/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
|