


from math import factorial

snake_case				:    Dict       				=     {str(d): factorial(d) for d in range(10)}
def 				__lowerCamelCase						( UpperCAmelCase_						:		int						):




      """simple docstring"""





      return sum(DIGIT_FACTORIAL[d] for d in str(UpperCamelCase__						)						)
def 				__lowerCamelCase						( ):




      """simple docstring"""





      a						:Optional[Any] 							=       7 * factorial(9						) + 1
      return sum(i for i in range(3 ,  UpperCamelCase__						) if sum_of_digit_factorial(UpperCamelCase__						) == i						)


if __name__ == "__main__":
     print(F"""{solution() = }""")










"""simple docstring"""
from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_lowerCAmelCase    :int     =					{'configuration_vit_msn': ['VIT_MSN_PRETRAINED_CONFIG_ARCHIVE_MAP', 'ViTMSNConfig']}

try:
  if not is_torch_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  _lowerCAmelCase    :Any     =					[
      'VIT_MSN_PRETRAINED_MODEL_ARCHIVE_LIST',
      'ViTMSNModel',
      'ViTMSNForImageClassification',
      'ViTMSNPreTrainedModel',
  ]

if TYPE_CHECKING:
  from .configuration_vit_msn import VIT_MSN_PRETRAINED_CONFIG_ARCHIVE_MAP, ViTMSNConfig

  try:
    if not is_torch_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .modeling_vit_msn import (
        VIT_MSN_PRETRAINED_MODEL_ARCHIVE_LIST,
        ViTMSNForImageClassification,
        ViTMSNModel,
        ViTMSNPreTrainedModel,
    )

else:
  import sys

  _lowerCAmelCase    :int     =					_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)


