Create the variable total and save the sum of the elements in savings in it.
total
savings
Make sure to type total = sum(savings).
total = sum(savings)