Use the while loop to reduce to_save and increase savings, each time deleting the last item in each list, until to_save is zero or below.
while
to_save
savings
Make sure to pick -= followed by += and then del, del.
-=
+=
del