Cubs end season with a Win