"""simple docstring"""



def 					_lowerCamelCase(					a ,  a							):
							return (pointa[0] - pointa[0]) ** 2 + (pointa[1] - pointa[1]) ** 2



def 					_lowerCamelCase(					a ,  a=0							):
							return sorted(a ,  key=lambda a							: x[column]							)



def 					_lowerCamelCase(					a ,  a ,  a=float("inf"							)							):

							for i in range(points_counts - 1							):
														for j in range(i + 1 ,  a							):
																					__a     				=  euclidean_distance_sqr(points[i] ,  points[j]							)
																					if current_dis < min_dis:
																												__a     				=  current_dis
							return min_dis



def 					_lowerCamelCase(					a ,  a ,  a=float("inf"							)							):

							for i in range(min(6 ,  points_counts - 1							) ,  a							):
														for j in range(max(0 ,  i - 6							) ,  a							):
																					__a     				=  euclidean_distance_sqr(points[i] ,  points[j]							)
																					if current_dis < min_dis:
																												__a     				=  current_dis
							return min_dis



def 					_lowerCamelCase(					a ,  a ,  a							):

							# base case
							if points_counts <= 3:
														return dis_between_closest_pair(a ,  a							)

							# recursion
							__a     				=  points_counts // 2
							__a     				=  closest_pair_of_points_sqr(
							    a ,  points_sorted_on_y[:mid] ,  a							)
							__a     				=  closest_pair_of_points_sqr(
							    a ,  points_sorted_on_y[mid:] ,  points_counts - mid							)
							__a     				=  min(a ,  a							)
							__a     				=  []
							for point in points_sorted_on_x:
														if abs(point[0] - points_sorted_on_x[mid][0]							) < closest_pair_dis:
																					cross_strip.append(a							)

							__a     				=  dis_between_closest_in_strip(
							    a ,  len(a							) ,  a							)
							return min(a ,  a							)



def 					_lowerCamelCase(					a ,  a							):
							__a     				=  column_based_sort(a ,  column=0							)
							__a     				=  column_based_sort(a ,  column=1							)
							return (
							    closest_pair_of_points_sqr(
							        a ,  a ,  a							)
							) ** 0.5


if __name__ == "__main__":
			SCREAMING_SNAKE_CASE__:Tuple			=	[(2, 3), (12, 30), (40, 50), (5, 1), (12, 10), (3, 4)]
			print("""Distance:""", closest_pair_of_points(points, len(points)))

"""simple docstring"""



SCREAMING_SNAKE_CASE__:Any			=	{
    """A""": """.-""", """B""": """-...""", """C""": """-.-.""", """D""": """-..""", """E""": """.""", """F""": """..-.""", """G""": """--.""",
    """H""": """....""", """I""": """..""", """J""": """.---""", """K""": """-.-""", """L""": """.-..""", """M""": """--""", """N""": """-.""",
    """O""": """---""", """P""": """.--.""", """Q""": """--.-""", """R""": """.-.""", """S""": """...""", """T""": """-""", """U""": """..-""",
    """V""": """...-""", """W""": """.--""", """X""": """-..-""", """Y""": """-.--""", """Z""": """--..""", """1""": """.----""",
    """2""": """..---""", """3""": """...--""", """4""": """....-""", """5""": """.....""", """6""": """-....""", """7""": """--...""",
    """8""": """---..""", """9""": """----.""", """0""": """-----""", """&""": """.-...""", """@""": """.--.-.""",
    """:""": """---...""", """,""": """--..--""", """.""": """.-.-.-""", """'""": """.----.""", """\"""": """.-..-.""",
    """?""": """..--..""", """/""": """-..-.""", """=""": """-...-""", """+""": """.-.-.""", """-""": """-....-""",
    """(""": """-.--.""", """)""": """-.--.-""", """!""": """-.-.--""", """ """: """/"""
}  # Exclamation mark is not in ITU-R recommendation
# fmt: on
SCREAMING_SNAKE_CASE__:Any			=	{value: key for key, value in MORSE_CODE_DICT.items()}



def 					_lowerCamelCase(					a							):
       return " ".join(MORSE_CODE_DICT[char] for char in message.upper()							)



def 					_lowerCamelCase(					a							):
       return "".join(REVERSE_DICT[char] for char in message.split()							)



def 					_lowerCamelCase(					):
       __a     				=  "Morse code here!"
       print(a							)
       __a     				=  encrypt(a							)
       print(a							)
       __a     				=  decrypt(a							)
       print(a							)


if __name__ == "__main__":
   main()
