


'''simple docstring'''






from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


__UpperCAmelCase       =							datasets.utils.logging.get_logger(__name__)




class 		a__    (							folder_based_builder.FolderBasedBuilderConfig  ):





							'''simple docstring'''






							lowercase__      :       bool     						=				None
							lowercase__      :       bool     						=				None




class 		a__    (							folder_based_builder.FolderBasedBuilder  ):





							'''simple docstring'''






							lowercase__      :       int     						=				datasets.Audio()
							lowercase__      :       Optional[Any]     						=				"audio"
							lowercase__      :       Union[str, Any]     						=				AudioFolderConfig
							lowercase__      :       List[str]  # definition at the bottom of the script
							lowercase__      :       Optional[int]     						=				AudioClassification(audio_column="audio"    ,    label_column="label"  )

__UpperCAmelCase       =							[
    '''.aiff''',
    '''.au''',
    '''.avr''',
    '''.caf''',
    '''.flac''',
    '''.htk''',
    '''.svx''',
    '''.mat4''',
    '''.mat5''',
    '''.mpc2k''',
    '''.ogg''',
    '''.paf''',
    '''.pvf''',
    '''.raw''',
    '''.rf64''',
    '''.sd2''',
    '''.sds''',
    '''.ircam''',
    '''.voc''',
    '''.w64''',
    '''.wav''',
    '''.nist''',
    '''.wavex''',
    '''.wve''',
    '''.xi''',
    '''.mp3''',
    '''.opus''',
]
__UpperCAmelCase       =							AUDIO_EXTENSIONS



'''simple docstring'''






from __future__ import annotations


def  _snake_case       (					A			,   A	)						->   float:
							lowerCAmelCase__	       =     sorted(numsa + numsa	)
							lowerCAmelCase__       , lowerCAmelCase__	       =     divmod(len(A	)			,   2	)
							if mod == 1:
														return all_numbers[div]
							else:
														return (all_numbers[div] + all_numbers[div - 1]) / 2


if __name__ == "__main__":
		import doctest

		doctest.testmod()
		__UpperCAmelCase       =							[float(x) for x in input('''Enter the elements of first array: ''').split()]
		__UpperCAmelCase       =							[float(x) for x in input('''Enter the elements of second array: ''').split()]
		print(f"""The median of two arrays is: {median_of_two_arrays(array_a, array_a)}""")