import re j=0 for i in map(int,re.findall('\d+',input())):j+=i print j