


class _lowerCamelCase:
       def __init__(   self, lowerCamelCase, lowerCamelCase=None, lowerCamelCase=None)			->  int:




           """simple docstring"""

           _lowercase			:				Any 						=						data
           _lowercase			:				str 						=						previous
           _lowercase			:				Optional[int] 						=						next_node
       def __str__(   self)			->  List[Any]:




           """simple docstring"""

           return F'''{self.data}'''
       def      UpperCamelCase	(   self)			->  str:




           """simple docstring"""

           return self.data
       def      UpperCamelCase	(   self)			->  List[Any]:




           """simple docstring"""

           return self.next




       def      UpperCamelCase	(   self)			->  Any:




           """simple docstring"""

           return self.previous






class _lowerCamelCase:
       def __init__(   self, lowerCamelCase)			->  List[str]:




           """simple docstring"""

           _lowercase			:				List[Any] 						=						head
       def __iter__(   self)			->  Optional[Any]:




           """simple docstring"""

           return self




       def      UpperCamelCase	(   self)			->  Optional[Any]:




           """simple docstring"""

           if not self.current:
               raise StopIteration
           else:
               _lowercase			:				Optional[int] 						=						self.current.get_data()
               _lowercase			:				Dict 						=						self.current.get_next()
               return value






class _lowerCamelCase:
       def __init__(   self)			->  Union[str, Any]:




           """simple docstring"""

           _lowercase			:				Union[str, Any] 						=						None  # First node in list
           _lowercase			:				Optional[Any] 						=						None  # Last node in list
       def __str__(   self)			->  Optional[Any]:




           """simple docstring"""

           _lowercase			:				int 						=						self.head
           _lowercase			:				Dict 						=						[]
           while current is not None:
               nodes.append(current.get_data())
               _lowercase			:				Tuple 						=						current.get_next()
           return " ".join(str(__snake_case) for node in nodes)
       def __contains__(   self, lowerCamelCase)			->  Optional[Any]:




           """simple docstring"""

           _lowercase			:				List[Any] 						=						self.head
           while current:
               if current.get_data() == value:
                   return True
               _lowercase			:				Dict 						=						current.get_next()
           return False
       def __iter__(   self)			->  Dict:




           """simple docstring"""

           return LinkedListIterator(self.head)
       def      UpperCamelCase	(   self)			->  int:




           """simple docstring"""

           if self.head:
               return self.head.get_data()
           return None
       def      UpperCamelCase	(   self)			->  Optional[Any]:




           """simple docstring"""

           if self.tail:
               return self.tail.get_data()
           return None
       def      UpperCamelCase	(   self, lowerCamelCase)			->  str:




           """simple docstring"""

           if self.head is None:
               _lowercase			:				str 						=						node
               _lowercase			:				Dict 						=						node
           else:
               self.insert_before_node(self.head, __snake_case)
       def      UpperCamelCase	(   self, lowerCamelCase)			->  str:




           """simple docstring"""

           if self.head is None:
               self.set_head(__snake_case)
           else:
               self.insert_after_node(self.tail, __snake_case)
       def      UpperCamelCase	(   self, lowerCamelCase)			->  Dict:




           """simple docstring"""

           _lowercase			:				int 						=						Node(__snake_case)
           if self.head is None:
               self.set_head(__snake_case)
           else:
               self.set_tail(__snake_case)
       def      UpperCamelCase	(   self, lowerCamelCase, lowerCamelCase)			->  Tuple:




           """simple docstring"""

           _lowercase			:				List[Any] 						=						node
           _lowercase			:				str 						=						node.previous

           if node.get_previous() is None:
               _lowercase			:				Any 						=						node_to_insert
           else:
               _lowercase			:				int 						=						node_to_insert

           _lowercase			:				Optional[int] 						=						node_to_insert
       def      UpperCamelCase	(   self, lowerCamelCase, lowerCamelCase)			->  List[str]:




           """simple docstring"""

           _lowercase			:				Union[str, Any] 						=						node
           _lowercase			:				Optional[int] 						=						node.next

           if node.get_next() is None:
               _lowercase			:				str 						=						node_to_insert
           else:
               _lowercase			:				Optional[int] 						=						node_to_insert

           _lowercase			:				Any 						=						node_to_insert
       def      UpperCamelCase	(   self, lowerCamelCase, lowerCamelCase)			->  Optional[int]:




           """simple docstring"""

           _lowercase			:				Tuple 						=						1
           _lowercase			:				Any 						=						Node(__snake_case)
           _lowercase			:				Tuple 						=						self.head
           while node:
               if current_position == position:
                   self.insert_before_node(__snake_case, __snake_case)
                   return
               current_position += 1
               _lowercase			:				Union[str, Any] 						=						node.next
           self.insert_after_node(self.tail, __snake_case)
       def      UpperCamelCase	(   self, lowerCamelCase)			->  Optional[Any]:




           """simple docstring"""

           _lowercase			:				str 						=						self.head
           while node:
               if node.get_data() == item:
                   return node
               _lowercase			:				Optional[Any] 						=						node.get_next()
           raise Exception('Node not found')
       def      UpperCamelCase	(   self, lowerCamelCase)			->  Dict:




           """simple docstring"""

           if (node := self.get_node(__snake_case)) is not None:
               if node == self.head:
                   _lowercase			:				Tuple 						=						self.head.get_next()

               if node == self.tail:
                   _lowercase			:				Optional[int] 						=						self.tail.get_previous()

               self.remove_node_pointers(__snake_case)
       @staticmethod
       def      UpperCamelCase	(   lowerCamelCase)			->  Union[str, Any]:




           """simple docstring"""

           if node.get_next():
               _lowercase			:				Dict 						=						node.previous

           if node.get_previous():
               _lowercase			:				List[str] 						=						node.next

           _lowercase			:				Dict 						=						None
           _lowercase			:				Optional[int] 						=						None




       def      UpperCamelCase	(   self)			->  Union[str, Any]:




           """simple docstring"""

           return self.head is None



def 							UpperCamelCase_( )       ->		List[Any]:
    pass







if __name__ == "__main__":
 import doctest

 doctest.testmod()






'''simple docstring'''


import argparse
import datetime







def      snake_case_  (    SCREAMING_SNAKE_CASE__	):







				"""simple docstring"""





				_SCREAMING_SNAKE_CASE					:			Optional[int]							= {
				    """0""": """Sunday""",
				    """1""": """Monday""",
				    """2""": """Tuesday""",
				    """3""": """Wednesday""",
				    """4""": """Thursday""",
				    """5""": """Friday""",
				    """6""": """Saturday""",
				}

				_SCREAMING_SNAKE_CASE					:			Optional[int]							= {0: 1, 1: 2, 2: 3, 3: 4, 4: 5, 5: 6, 6: 0}

				# Validate
				if not 0 < len(SCREAMING_SNAKE_CASE__	) < 11:
								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 < 13:
								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 < 32:
								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 45 < y < 8500:
								raise ValueError(
								    """Year out of range. There has to be some sort of limit...right?"""	)

				# Get datetime obj for validation
				_SCREAMING_SNAKE_CASE					:			Optional[int]							= datetime.date(int(SCREAMING_SNAKE_CASE__	)				, int(SCREAMING_SNAKE_CASE__	)				, int(SCREAMING_SNAKE_CASE__	)	)

				# Start math
				if m <= 2:
								_SCREAMING_SNAKE_CASE					:			Union[str, Any]							= y - 1
								_SCREAMING_SNAKE_CASE					:			Optional[int]							= m + 12
				# maths var
				_SCREAMING_SNAKE_CASE					:			int							= int(str(SCREAMING_SNAKE_CASE__	)[:2]	)
				_SCREAMING_SNAKE_CASE					:			int							= int(str(SCREAMING_SNAKE_CASE__	)[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(SCREAMING_SNAKE_CASE__	)]}!"""
				return response


if __name__ == "__main__":
				import doctest

				doctest.testmod()
				UpperCAmelCase_						:  Tuple				  =						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)'
				)
				UpperCAmelCase_						:  List[Any]				  =						parser.parse_args()
				zeller(args.date_input)




