import inspect
import warnings
from typing import Any, Dict, Optional, Union

from packaging import version



def lowerCamelCase  (   *SCREAMING_SNAKE_CASE  ,			SCREAMING_SNAKE_CASE = None  ,			SCREAMING_SNAKE_CASE=True  ,			SCREAMING_SNAKE_CASE=2	):
    '''simple docstring'''







    from .. import __version__

    __UpperCamelCase     :str			  =		take_from
    __UpperCamelCase     :int			  =		()
    if not isinstance(args[0]  ,			__snake_case	):
        __UpperCamelCase     :List[str]			  =		(args,)

    for attribute, version_name, message in args:
        if version.parse(version.parse(__snake_case	).base_version	) >= version.parse(__snake_case	):
            raise ValueError(
                f"""The deprecation tuple {(attribute, version_name, message)} should be removed since diffusers\'"""
                f""" version {__version__} is >= {version_name}"""	)

        __UpperCamelCase     :int			  =		None
        if isinstance(__snake_case  ,			__snake_case	) and attribute in deprecated_kwargs:
            values += (deprecated_kwargs.pop(__snake_case	),)
            __UpperCamelCase     :Tuple			  =		f"""The `{attribute}` argument is deprecated and will be removed in version {version_name}."""
        elif hasattr(__snake_case  ,			__snake_case	):
            values += (getattr(__snake_case  ,			__snake_case	),)
            __UpperCamelCase     :List[Any]			  =		f"""The `{attribute}` attribute is deprecated and will be removed in version {version_name}."""
        elif deprecated_kwargs is None:
            __UpperCamelCase     :Union[str, Any]			  =		f"""`{attribute}` is deprecated and will be removed in version {version_name}."""

        if warning is not None:
            __UpperCamelCase     :Dict			  =		warning + ''' ''' if standard_warn else ''''''
            warnings.warn(warning + message  ,			__snake_case  ,			stacklevel=__snake_case	)

    if isinstance(__snake_case  ,			__snake_case	) and len(__snake_case	) > 0:
        __UpperCamelCase     :Optional[Any]			  =		inspect.getouterframes(inspect.currentframe()	)[1]
        __UpperCamelCase     :List[Any]			  =		call_frame.filename
        __UpperCamelCase     :Optional[int]			  =		call_frame.lineno
        __UpperCamelCase     :List[Any]			  =		call_frame.function
        __UpperCamelCase  ,       __UpperCamelCase     :List[Any]			  =		next(iter(deprecated_kwargs.items()	)	)
        raise TypeError(f"""{function} in {filename} line {line_number-1} got an unexpected keyword argument `{key}`"""	)

    if len(__snake_case	) == 0:
        return
    elif len(__snake_case	) == 1:
        return values[0]
    return values







"""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)






