'''simple docstring'''




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

from packaging import version






def __lowerCAmelCase					(				*UpperCamelCase__							,    UpperCamelCase__ = None							,    UpperCamelCase__=True							,    UpperCamelCase__=2							)      ->       str:
    from .. import __version__

    __lowerCamelCase            =    take_from
    __lowerCamelCase            =    ()
    if not isinstance(args[0]							,    UpperCamelCase__							):
        __lowerCamelCase            =    (args,)

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

        __lowerCamelCase            =    None
        if isinstance(UpperCamelCase__							,    UpperCamelCase__							) and attribute in deprecated_kwargs:
            values += (deprecated_kwargs.pop(UpperCamelCase__							),)
            __lowerCamelCase            =    f"""The `{attribute}` argument is deprecated and will be removed in version {version_name}."""
        elif hasattr(UpperCamelCase__							,    UpperCamelCase__							):
            values += (getattr(UpperCamelCase__							,    UpperCamelCase__							),)
            __lowerCamelCase            =    f"""The `{attribute}` attribute is deprecated and will be removed in version {version_name}."""
        elif deprecated_kwargs is None:
            __lowerCamelCase            =    f"""`{attribute}` is deprecated and will be removed in version {version_name}."""

        if warning is not None:
            __lowerCamelCase            =    warning + ''' ''' if standard_warn else ''''''
            warnings.warn(warning + message							,    UpperCamelCase__							,    stacklevel=UpperCamelCase__							)

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

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

'''simple docstring'''




def __lowerCAmelCase					(				)      ->       Optional[Any]:
    __lowerCamelCase            =    0
    for i in range(1							,    10_01							):
        total += i**i
    return str(UpperCamelCase__							)[-10:]


if __name__ == "__main__":
  print(solution())
