#Let s be a string that contains a sequence of decimal numbers separated by commas, e.g., s = '1.23,2.4,3.123'.
# Write a program that prints the sum of the numbers in s.

n=input("enter the decimal value")
decimal=n.split(",")
sum=0
for i in decimal:
    sum=sum+float(i)
print(sum)