


'''simple docstring'''
def       a				(      __a			, __a       )  ->     bool:



					'''simple docstring'''






					UpperCamelCase__       :List[Any]							 =			len(__a       )
					UpperCamelCase__       :Any							 =			[[False] * (required_sum + 1) for _ in range(arr_len + 1       )]

					# for each arr value, a sum of zero(0) can be formed by not taking any element
					# hence True/1
					for i in range(arr_len + 1       ):
										UpperCamelCase__       :List[Any]							 =			True

					# sum is not zero and set is empty then false
					for i in range(1			, required_sum + 1       ):
										UpperCamelCase__       :Tuple							 =			False

					for i in range(1			, arr_len + 1       ):
										for j in range(1			, required_sum + 1       ):
															if arr[i - 1] > j:
																				UpperCamelCase__       :Union[str, Any]							 =			subset[i - 1][j]
															if arr[i - 1] <= j:
																				UpperCamelCase__       :Optional[int]							 =			subset[i - 1][j] or subset[i - 1][j - arr[i - 1]]

					return subset[arr_len][required_sum]


if __name__ == "__main__":
		import doctest

		doctest.testmod()



'''simple docstring'''
from typing import TYPE_CHECKING

from ...utils import _LazyModule


__snake_case											=					{'''tokenization_wav2vec2_phoneme''': ['''Wav2Vec2PhonemeCTCTokenizer''']}


if TYPE_CHECKING:
		from .tokenization_wavaveca_phoneme import WavaVecaPhonemeCTCTokenizer
else:
		import sys

		__snake_case											=					_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)