





A__:    Dict  	=	[4, 1, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5]
A__:    Tuple  	=	[3, 7, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5]
A__:    List[Any]  	=	{
    0: '''Sunday''',
    1: '''Monday''',
    2: '''Tuesday''',
    3: '''Wednesday''',
    4: '''Thursday''',
    5: '''Friday''',
    6: '''Saturday''',
}



def 				lowerCAmelCase_ (							A_    ,A_    ,A_):
    assert len(str(A_)) > 2, "year should be in YYYY format"
    assert 1 <= month <= 12, "month should be between 1 to 12"
    assert 1 <= day <= 31, "day should be between 1 to 31"

    # Doomsday algorithm:
    UpperCamelCase__:	List[Any]					=     year // 1_00
    UpperCamelCase__:	int					=     (5 * (century % 4) + 2) % 7
    UpperCamelCase__:	Dict					=     year % 1_00
    UpperCamelCase__:	Dict					=     centurian % 12
    UpperCamelCase__:	Tuple					=     (
        (centurian // 12) + centurian_m + (centurian_m // 4) + century_anchor
    ) % 7
    UpperCamelCase__:	List[Any]					=     (
        DOOMSDAY_NOT_LEAP[month - 1]
        if (year % 4 != 0) or (centurian == 0 and (year % 4_00) == 0)
        else DOOMSDAY_LEAP[month - 1]
    )
    UpperCamelCase__:	Optional[int]					=     (dooms_day + day - day_anchor) % 7
    return WEEK_DAY_NAMES[week_day]


if __name__ == "__main__":
   import doctest

   doctest.testmod()








from typing import TYPE_CHECKING

from ...file_utils import _LazyModule, is_torch_available
from ...utils import OptionalDependencyNotAvailable


A__:    Any  	=	{
    '''configuration_gpt_neox_japanese''': ['''GPT_NEOX_JAPANESE_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''GPTNeoXJapaneseConfig'''],
    '''tokenization_gpt_neox_japanese''': ['''GPTNeoXJapaneseTokenizer'''],
}

try:
   if not is_torch_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   A__:    Union[str, Any]  	=	[
       '''GPT_NEOX_JAPANESE_PRETRAINED_MODEL_ARCHIVE_LIST''',
       '''GPTNeoXJapaneseForCausalLM''',
       '''GPTNeoXJapaneseLayer''',
       '''GPTNeoXJapaneseModel''',
       '''GPTNeoXJapanesePreTrainedModel''',
   ]


if TYPE_CHECKING:
   from .configuration_gpt_neox_japanese import GPT_NEOX_JAPANESE_PRETRAINED_CONFIG_ARCHIVE_MAP, GPTNeoXJapaneseConfig
   from .tokenization_gpt_neox_japanese import GPTNeoXJapaneseTokenizer

   try:
      if not is_torch_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .modeling_gpt_neox_japanese import (
          GPT_NEOX_JAPANESE_PRETRAINED_MODEL_ARCHIVE_LIST,
          GPTNeoXJapaneseForCausalLM,
          GPTNeoXJapaneseLayer,
          GPTNeoXJapaneseModel,
          GPTNeoXJapanesePreTrainedModel,
      )


else:
   import sys

   A__:    str  	=	_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)

