


def __UpperCAmelCase       (		__A ,						__A			)						->					bool:



       '''simple docstring'''





       UpperCAmelCase__										=     len(__snake_case			)
       UpperCAmelCase__										=     len(__snake_case			)
       UpperCAmelCase__										=     [[False for _ in range(m + 1			)] for _ in range(n + 1			)]
       UpperCAmelCase__										=     True
       for i in range(__snake_case			):
              for j in range(m + 1			):
                     if dp[i][j]:
                            if j < m and a[i].upper() == b[j]:
                                   UpperCAmelCase__										=     True
                            if a[i].islower():
                                   UpperCAmelCase__										=     True
       return dp[n][m]


if __name__ == "__main__":
    import doctest

    doctest.testmod()









from .imports import is_tqdm_available


if is_tqdm_available():
    from tqdm.auto import tqdm as _tqdm

from ..state import PartialState





def __UpperCAmelCase       (		__A = True ,						*__A ,						**__A			)						->					Any:



       '''simple docstring'''





       if not is_tqdm_available():
              raise ImportError("Accelerate's `tqdm` module requires `tqdm` to be installed. Please run `pip install tqdm`."			)
       UpperCAmelCase__										=     False
       if main_process_only:
              UpperCAmelCase__										=     PartialState().local_process_index == 0
       return _tqdm(*__A ,						**__A ,						disable=__A			)





