Find S Algorithm Using Python With Excel