

from typing import Any

class 					a__						:
			"""simple docstring"""







			def __init__(    self      ,      lowercase       )  ->						str:
							'''simple docstring'''






							A__        =			data
							A__        =			None

class 					a__						:
			"""simple docstring"""







			def __init__(    self       )  ->						Dict:
							'''simple docstring'''






							A__        =			None


			def      UpperCamelCase		(    self       )  ->						Any:
							'''simple docstring'''






							A__        =			self.head
							while temp is not None:
											print(temp.data      ,      end=" "       )
											A__        =			temp.next
							print()


			def      UpperCamelCase		(    self      ,      lowercase       )  ->						Tuple:
							'''simple docstring'''






							A__        =			Node(a_       )
							A__        =			self.head
							A__        =			new_node


			def      UpperCamelCase		(    self      ,      lowercase      ,      lowercase       )  ->						Dict:
							'''simple docstring'''






							if node_data_a == node_data_a:
											return
							else:
											A__        =			self.head
											while node_a is not None and node_a.data != node_data_a:
															A__        =			node_a.next

											A__        =			self.head
											while node_a is not None and node_a.data != node_data_a:
															A__        =			node_a.next

											if node_a is None or node_a is None:
															return

											A__        =			node_a.data, node_a.data


if __name__ == "__main__":
	lowerCAmelCase__	   = 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()




import math

lowerCAmelCase__	   = 1_0
lowerCAmelCase__	   = 7
lowerCAmelCase__	   = BALLS_PER_COLOUR * NUM_COLOURS



def 					lowerCAmelCase__							(	SCREAMING_SNAKE_CASE_:							int = 2_0      )			->      str:




				'''simple docstring'''





				A__        =			math.comb(SCREAMING_SNAKE_CASE_	,       SCREAMING_SNAKE_CASE_      )
				A__        =			math.comb(NUM_BALLS - BALLS_PER_COLOUR	,       SCREAMING_SNAKE_CASE_      )

				A__        =			NUM_COLOURS * (1 - missing_colour / total)

				return F'{result:.9f}'


if __name__ == "__main__":
	print(solution(2_0))

