'''simple docstring'''







UpperCamelCase_      	=	[4, 1, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5]
UpperCamelCase_      	=	[3, 7, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5]
UpperCamelCase_      	=	{
    0: '''Sunday''',
    1: '''Monday''',
    2: '''Tuesday''',
    3: '''Wednesday''',
    4: '''Thursday''',
    5: '''Friday''',
    6: '''Saturday''',
}


def    lowerCamelCase       (			UpperCAmelCase__				:  int				,						UpperCAmelCase__				:  int				,						UpperCAmelCase__				:  int		)			->	str:


							'''simple docstring'''






							assert len(str(UpperCAmelCase__		)		) > 2, "year should be in YYYY format"
							assert 1 <= month <= 1_2, "month should be between 1 to 12"
							assert 1 <= day <= 3_1, "day should be between 1 to 31"

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


if __name__ == "__main__":
		import doctest

		doctest.testmod()







'''simple docstring'''







from typing import TYPE_CHECKING

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


UpperCamelCase_      	=	{
    '''configuration_m2m_100''': ['''M2M_100_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''M2M100Config''', '''M2M100OnnxConfig'''],
    '''tokenization_m2m_100''': ['''M2M100Tokenizer'''],
}


try:
		if not is_torch_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		UpperCamelCase_      	=	[
		    '''M2M_100_PRETRAINED_MODEL_ARCHIVE_LIST''',
		    '''M2M100ForConditionalGeneration''',
		    '''M2M100Model''',
		    '''M2M100PreTrainedModel''',
		]


if TYPE_CHECKING:
		from .configuration_mam_aaa import M2M_100_PRETRAINED_CONFIG_ARCHIVE_MAP, MaMaaaConfig, MaMaaaOnnxConfig
		from .tokenization_mam_aaa import MaMaaaTokenizer

		try:
				if not is_torch_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .modeling_mam_aaa import (
				    M2M_100_PRETRAINED_MODEL_ARCHIVE_LIST,
				    MaMaaaForConditionalGeneration,
				    MaMaaaModel,
				    MaMaaaPreTrainedModel,
				)


else:
		import sys

		UpperCamelCase_      	=	_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)






