import re
a=input('Введените целые неотрицательные числа:\n')
sum=0
c=re.findall(r'[+-]?\d+', a)
for i in range(len(c)):
    c[i]=int(c[i])
for i in range(len(c)):
    sum=sum+c[i]
print(sum)



a940057096b5ac53b32afb4d46a0020b2c78ec5f
<mask token>

<mask token>
for i in range(len(c)):
    c[i] = int(c[i])
for i in range(len(c)):
    sum = sum + c[i]
print(sum)

<mask token>
a = input('Введените целые неотрицательные числа:\n')
sum = 0
c = re.findall('[+-]?\\d+', a)
for i in range(len(c)):
    c[i] = int(c[i])
for i in range(len(c)):
    sum = sum + c[i]
print(sum)

import re
a = input('Введените целые неотрицательные числа:\n')
sum = 0
c = re.findall('[+-]?\\d+', a)
for i in range(len(c)):
    c[i] = int(c[i])
for i in range(len(c)):
    sum = sum + c[i]
print(sum)

import re
a=input('Введените целые неотрицательные числа:\n')
sum=0
c=re.findall(r'[+-]?\d+', a)
for i in range(len(c)):
    c[i]=int(c[i])
for i in range(len(c)):
    sum=sum+c[i]
print(sum)


