






'''simple docstring'''
import argparse
import datetime





def 	_a(					UpperCamelCase__			:  str							):




      '''simple docstring'''






      SCREAMING_SNAKE_CASE__       :			int													={
          '''0''': '''Sunday''',
          '''1''': '''Monday''',
          '''2''': '''Tuesday''',
          '''3''': '''Wednesday''',
          '''4''': '''Thursday''',
          '''5''': '''Friday''',
          '''6''': '''Saturday''',
      }

      SCREAMING_SNAKE_CASE__       :			Union[str, Any]													={0: 1, 1: 2, 2: 3, 3: 4, 4: 5, 5: 6, 6: 0}

      # Validate
      if not 0 < len(UpperCamelCase__							) < 1_1:
            raise ValueError('''Must be 10 characters long'''							)

      # Get month
      SCREAMING_SNAKE_CASE__       :			int													=int(date_input[0] + date_input[1]							)
      # Validate
      if not 0 < m < 1_3:
            raise ValueError('''Month must be between 1 - 12'''							)

      SCREAMING_SNAKE_CASE__       :			str													=date_input[2]
      # Validate
      if sep_a not in ["-", "/"]:
            raise ValueError('''Date separator must be \'-\' or \'/\''''							)

      # Get day
      SCREAMING_SNAKE_CASE__       :			int													=int(date_input[3] + date_input[4]							)
      # Validate
      if not 0 < d < 3_2:
            raise ValueError('''Date must be between 1 - 31'''							)

      # Get second separator
      SCREAMING_SNAKE_CASE__       :			str													=date_input[5]
      # Validate
      if sep_a not in ["-", "/"]:
            raise ValueError('''Date separator must be \'-\' or \'/\''''							)

      # Get year
      SCREAMING_SNAKE_CASE__       :			int													=int(date_input[6] + date_input[7] + date_input[8] + date_input[9]							)
      # Arbitrary year range
      if not 4_5 < y < 8_5_0_0:
            raise ValueError(
                '''Year out of range. There has to be some sort of limit...right?'''							)

      # Get datetime obj for validation
      SCREAMING_SNAKE_CASE__       :			Any													=datetime.date(int(UpperCamelCase__							),		int(UpperCamelCase__							),		int(UpperCamelCase__							)							)

      # Start math
      if m <= 2:
            SCREAMING_SNAKE_CASE__       :			List[Any]													=y - 1
            SCREAMING_SNAKE_CASE__       :			List[Any]													=m + 1_2
      # maths var
      SCREAMING_SNAKE_CASE__       :			int													=int(str(UpperCamelCase__							)[:2]							)
      SCREAMING_SNAKE_CASE__       :			int													=int(str(UpperCamelCase__							)[2:]							)
      SCREAMING_SNAKE_CASE__       :			int													=int(2.6 * m - 5.3_9							)
      SCREAMING_SNAKE_CASE__       :			int													=int(c / 4							)
      SCREAMING_SNAKE_CASE__       :			int													=int(k / 4							)
      SCREAMING_SNAKE_CASE__       :			int													=int(d + k							)
      SCREAMING_SNAKE_CASE__       :			int													=int(t + u + v + x							)
      SCREAMING_SNAKE_CASE__       :			int													=int(z - (2 * c)							)
      SCREAMING_SNAKE_CASE__       :			int													=round(w % 7							)
      # End math

      # Validate math
      if f != convert_datetime_days[dt_ck.weekday()]:
            raise AssertionError('''The date was evaluated incorrectly. Contact developer.'''							)

      # Response
      SCREAMING_SNAKE_CASE__       :			str													=f"Your date {date_input}, is a {days[str(UpperCamelCase__							)]}!"
      return response


if __name__ == "__main__":
  import doctest

  doctest.testmod()
  a_					=	argparse.ArgumentParser(
      description=(
          'Find out what day of the week nearly any date is or was. Enter '
          'date as a string in the mm-dd-yyyy or mm/dd/yyyy format'
      )
  )
  parser.add_argument(
      'date_input', type=str, help='Date as a string (mm-dd-yyyy or mm/dd/yyyy)'
  )
  a_					=	parser.parse_args()
  zeller(args.date_input)







'''simple docstring'''
from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_tf_available,
    is_tokenizers_available,
    is_torch_available,
)


a_					=	{
    'configuration_lxmert': ['LXMERT_PRETRAINED_CONFIG_ARCHIVE_MAP', 'LxmertConfig'],
    'tokenization_lxmert': ['LxmertTokenizer'],
}

try:
  if not is_tokenizers_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  a_					=	['LxmertTokenizerFast']

try:
  if not is_torch_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  a_					=	[
      'LxmertEncoder',
      'LxmertForPreTraining',
      'LxmertForQuestionAnswering',
      'LxmertModel',
      'LxmertPreTrainedModel',
      'LxmertVisualFeatureEncoder',
      'LxmertXLayer',
  ]

try:
  if not is_tf_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  a_					=	[
      'TF_LXMERT_PRETRAINED_MODEL_ARCHIVE_LIST',
      'TFLxmertForPreTraining',
      'TFLxmertMainLayer',
      'TFLxmertModel',
      'TFLxmertPreTrainedModel',
      'TFLxmertVisualFeatureEncoder',
  ]


if TYPE_CHECKING:
  from .configuration_lxmert import LXMERT_PRETRAINED_CONFIG_ARCHIVE_MAP, LxmertConfig
  from .tokenization_lxmert import LxmertTokenizer

  try:
    if not is_tokenizers_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .tokenization_lxmert_fast import LxmertTokenizerFast

  try:
    if not is_torch_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .modeling_lxmert import (
        LxmertEncoder,
        LxmertForPreTraining,
        LxmertForQuestionAnswering,
        LxmertModel,
        LxmertPreTrainedModel,
        LxmertVisualFeatureEncoder,
        LxmertXLayer,
    )

  try:
    if not is_tf_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .modeling_tf_lxmert import (
        TF_LXMERT_PRETRAINED_MODEL_ARCHIVE_LIST,
        TFLxmertForPreTraining,
        TFLxmertMainLayer,
        TFLxmertModel,
        TFLxmertPreTrainedModel,
        TFLxmertVisualFeatureEncoder,
    )

else:
  import sys

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