






from __future__ import annotations
def       snake_case_		(     lowerCAmelCase_       :						str      ):
							return [ord(lowerCAmelCase_      ) - 96 for elem in plain]
def       snake_case_		(     lowerCAmelCase_       :						list[int]      ):
							return "".join(chr(elem + 96      ) for elem in encoded      )
def       snake_case_		(     ):
							__lowercase      :							str				=     encode(input("""-> """      ).strip().lower()      )
							print("""Encoded: """       ,       lowerCAmelCase_      )
							print("""Decoded:"""       ,       decode(lowerCAmelCase_      )      )


if __name__ == "__main__":
	main()







from .imports import is_tqdm_available


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

from ..state import PartialState
def       snake_case_		(     lowerCAmelCase_       :						bool = True       ,       *lowerCAmelCase_       :						int       ,       **lowerCAmelCase_       :						List[str]      ):
							if not is_tqdm_available():
														raise ImportError("""Accelerate's `tqdm` module requires `tqdm` to be installed. Please run `pip install tqdm`."""      )
							__lowercase      :							List[str]				=     False
							if main_process_only:
														__lowercase      :							Optional[int]				=     PartialState().local_process_index == 0
							return _tqdm(*lowerCAmelCase_       ,       **lowerCAmelCase_       ,       disable=lowerCAmelCase_      )