

"""simple docstring"""





from typing import Any







class 				SCREAMING_SNAKE_CASE					:






					"""simple docstring"""



					def __init__(       self			:				Any   ,lowercase_			:				Any		):
						lowerCAmelCase__	:						List[str]  				=	data
						lowerCAmelCase__	:						Any  				=	None







class 				SCREAMING_SNAKE_CASE					:






					"""simple docstring"""



					def __init__(       self			:				List[str]		):
						lowerCAmelCase__	:						Any  				=	None







					def        __lowerCAmelCase (       self			:				str		):
						lowerCAmelCase__	:						Optional[Any]  				=	self.head
						while temp is not None:
							print(temp.data   ,end=''' '''		)
							lowerCAmelCase__	:						Union[str, Any]  				=	temp.next
						print()







					def        __lowerCAmelCase (       self			:				Dict   ,lowercase_			:				Any		):
						lowerCAmelCase__	:						Union[str, Any]  				=	Node(lowercase_		)
						lowerCAmelCase__	:						Any  				=	self.head
						lowerCAmelCase__	:						Union[str, Any]  				=	new_node







					def        __lowerCAmelCase (       self			:				Optional[Any]   ,lowercase_			:				Dict   ,lowercase_			:				List[str]		):
						if node_data_a == node_data_a:
							return
						else:
							lowerCAmelCase__	:						Optional[int]  				=	self.head
							while node_a is not None and node_a.data != node_data_a:
								lowerCAmelCase__	:						Optional[Any]  				=	node_a.next

							lowerCAmelCase__	:						Dict  				=	self.head
							while node_a is not None and node_a.data != node_data_a:
								lowerCAmelCase__	:						List[Any]  				=	node_a.next

							if node_a is None or node_a is None:
								return

							lowerCAmelCase__				,lowerCAmelCase__	:						Optional[Any]  				=	node_a.data, node_a.data


if __name__ == "__main__":
							__UpperCamelCase  :      Union[str, Any]							      =		LinkedList()
							for i in range(5, 0, -1):
														ll.push(i)

							ll.print_list()

							ll.swap_nodes(1, 4)
							print('''After swapping''')
							ll.print_list()








"""simple docstring"""




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

def        lowercase							(		lowerCAmelCase__ :     int    ,					lowerCAmelCase__ :     int    ,					lowerCAmelCase__ :     int			) ->      str:
		assert len(str(lowerCAmelCase__			)			) > 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:
		__a           =			year // 100
		__a           =			(5 * (century % 4) + 2) % 7
		__a           =			year % 100
		__a           =			centurian % 12
		__a           =			(
		    (centurian // 12) + centurian_m + (centurian_m // 4) + century_anchor
		) % 7
		__a           =			(
		    DOOMSDAY_NOT_LEAP[month - 1]
		    if (year % 4 != 0) or (centurian == 0 and (year % 400) == 0)
		    else DOOMSDAY_LEAP[month - 1]
		)
		__a           =			(dooms_day + day - day_anchor) % 7
		return WEEK_DAY_NAMES[week_day]


if __name__ == "__main__":
				import doctest

				doctest.testmod()






