



'''simple docstring'''






def        snake_case_   (	lowerCAmelCase_ = "mytext.txt"			,  lowerCAmelCase_ = False						)->						None:





       '''simple docstring'''


       import socket

       _UpperCAmelCase    :		Optional[int]     	=					12312  # Reserve a port for your service.
       _UpperCAmelCase    :		int     	=					socket.socket()  # Create a socket object
       _UpperCAmelCase    :		Any     	=					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	,_UpperCAmelCase    :		List[Any]     	=					sock.accept()  # Establish connection with client.
              print(F'''Got connection from {addr}'''						)
              _UpperCAmelCase    :		Optional[Any]     	=					conn.recv(1024						)
              print(F'''Server received: {data = }'''						)

              with open(lowerCAmelCase_			,  """rb"""						) as in_file:
                     _UpperCAmelCase    :		Optional[Any]     	=					in_file.read(1024						)
                     while data:
                            conn.send(lowerCAmelCase_						)
                            print(F'''Sent {data!r}'''						)
                            _UpperCAmelCase    :		List[Any]     	=					in_file.read(1024						)

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

       sock.shutdown(1						)
       sock.close()


if __name__ == "__main__":
   send_file()










"""simple docstring"""






from collections import defaultdict

def    __lowerCamelCase     (							SCREAMING_SNAKE_CASE = 5				)		->							int:






       """simple docstring"""




       _UpperCAmelCase			     =  defaultdict(SCREAMING_SNAKE_CASE				)
       _UpperCAmelCase			     =  0

       while True:
              _UpperCAmelCase			     =  get_digits(SCREAMING_SNAKE_CASE				)
              freqs[digits].append(SCREAMING_SNAKE_CASE				)

              if len(freqs[digits]				) == max_base:
                     _UpperCAmelCase			     =  freqs[digits][0] ** 3
                     return base

              num += 1

def    __lowerCamelCase     (							SCREAMING_SNAKE_CASE				)		->							str:






       """simple docstring"""




       return "".join(sorted(str(num**3				)				)				)


if __name__ == "__main__":
    print(F'''{solution() = }''')






