import sys
import re

c=input()
a=re.compile(r'(\d*)')
b=a.findall(c)
print(''.join(b))