Create the variable total and save the sum of the elements in savings in it.

Make sure to type total = sum(savings).