
"""simple docstring"""





from .imports import is_tqdm_available


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

from ..state import PartialState



def       lowerCamelCase__		(			__snake_case = True,     *__snake_case,     **__snake_case	)							->		List[str]:


					"""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(*__snake_case,     **__snake_case,     disable=__snake_case	)








"""simple docstring"""





def       lowerCamelCase__		(			__snake_case = 10_00	)							->		int:


					"""simple docstring"""





					_UpperCamelCase							 =  2**power
					_UpperCamelCase							 =  str(__snake_case	)
					_UpperCamelCase							 =  list(__snake_case	)
					_UpperCamelCase							 =  0

					for i in list_num:
										sum_of_num += int(__snake_case	)

					return sum_of_num


if __name__ == "__main__":
				_a														=		int(input("""Enter the power of 2: """).strip())
				print("""2 ^ """, power, """ = """, 2**power)
				_a														=		solution(power)
				print("""Sum of the digits is: """, result)






