1962. Remove Stones to Minimize the Total