





"""simple docstring"""




def 	a_    (							_lowercase       ):
						_UpperCamelCase      : List[str]         =   0
						while len(_lowercase       ) > 1:
												_UpperCamelCase      : int         =   0
												# Consider two files with minimum cost to be merged
												for _ in range(2       ):
																		_UpperCamelCase      : Dict         =   files.index(min(_lowercase       )       )
																		temp += files[min_index]
																		files.pop(_lowercase       )
												files.append(_lowercase       )
												optimal_merge_cost += temp
						return optimal_merge_cost


if __name__ == "__main__":
						import doctest

						doctest.testmod()










"""simple docstring"""




UpperCamelCase_									=[
    """DownloadConfig""",
    """DownloadManager""",
    """DownloadMode""",
    """StreamingDownloadManager""",
]

from .download_config import DownloadConfig
from .download_manager import DownloadManager, DownloadMode
from .streaming_download_manager import StreamingDownloadManager



