from __future__ import annotations

import math
from itertools import permutations
def 				__lowercase	(						lowerCamelCase__					)				->bool:

  '''simple docstring'''




  if 1 < number < 4:
    # 2 and 3 are primes
    return True
  elif number < 2 or number % 2 == 0 or number % 3 == 0:
    # Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
    return False

  # All primes number are in format of 6k +/- 1
  for i in range(5 ,				int(math.sqrt(lowerCamelCase__					) + 1					) ,				6					):
    if number % i == 0 or number % (i + 2) == 0:
      return False
  return True
def 				__lowercase	(						lowerCamelCase__ = 7					)				->int:

  '''simple docstring'''




  a__     		=     "".join(str(lowerCamelCase__					) for i in range(1 ,				n + 1					)					)
  a__     		=     [int("".join(lowerCamelCase__					)					) for i in permutations(lowerCamelCase__ ,				lowerCamelCase__					)]
  a__     		=     [num for num in perm_list if is_prime(lowerCamelCase__					)]
  return max(lowerCamelCase__					) if pandigitals else 0


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


def 				__lowercase	(						lowerCamelCase__ = "mytext.txt" ,				lowerCamelCase__ = False					)				->None:

  '''simple docstring'''




  import socket

  a__     		=     1_23_12  # Reserve a port for your service.
  a__     		=     socket.socket()  # Create a socket object
  a__     		=     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:
    a__		,a__     		=     sock.accept()  # Establish connection with client.
    print(f"Got connection from {addr}"					)
    a__     		=     conn.recv(10_24					)
    print(f"Server received: {data = }"					)

    with open(lowerCamelCase__ ,				"rb"					) as in_file:
      a__     		=     in_file.read(10_24					)
      while data:
        conn.send(lowerCamelCase__					)
        print(f"Sent {data!r}"					)
        a__     		=     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()

