





def     A__					(						SCREAMING_SNAKE_CASE_      :			List[str] = "mytext.txt"							,  SCREAMING_SNAKE_CASE_      :			Union[str, Any] = False	)     ->     None:






			"""simple docstring"""







			import socket

			_UpperCAmelCase											=      1_23_12  # Reserve a port for your service.
			_UpperCAmelCase											=      socket.socket()  # Create a socket object
			_UpperCAmelCase											=      socket.gethostname()  # Get local machine name
			sock.bind((host, port)	)  # Bind to the port
			sock.listen(5	)  # Now wait for client connection.

			print('''Server listening....'''	)

			while True:
						_UpperCAmelCase											=      sock.accept()  # Establish connection with client.
						print(F'''Got connection from {addr}'''	)
						_UpperCAmelCase											=      conn.recv(10_24	)
						print(F'''Server received: {data = }'''	)

						with open(_UpperCAmelCase							,  '''rb'''	) as in_file:
									_UpperCAmelCase											=      in_file.read(10_24	)
									while data:
												conn.send(_UpperCAmelCase	)
												print(F'''Sent {data!r}'''	)
												_UpperCAmelCase											=      in_file.read(10_24	)

						print('''Done sending'''	)
						conn.close()
						if testing:  # Allow the test to complete
									break

			sock.shutdown(1	)
			sock.close()


if __name__ == "__main__":
			send_file()






def     A__					(						SCREAMING_SNAKE_CASE_      :			List[Any]							,  SCREAMING_SNAKE_CASE_      :			Dict	)     ->     Any:






   """simple docstring"""







   if n == 0:
      return 1

   elif n % 2 == 1:
      return binary_exponentiation(SCREAMING_SNAKE_CASE_							,  n - 1	) * a

   else:
      _UpperCAmelCase											=      binary_exponentiation(SCREAMING_SNAKE_CASE_							,  n / 2	)
      return b * b


if __name__ == "__main__":
   try:
      UpperCAmelCase_											=  int(input("Enter Base : ").strip())
      UpperCAmelCase_											=  int(input("Enter Power : ").strip())
   except ValueError:
      print("Invalid literal for integer")

   UpperCAmelCase_											=  binary_exponentiation(BASE, POWER)
   print(f'''{BASE}^({POWER}) : {RESULT}''')