

"""simple docstring"""






import socket



def   lowercase_	(    ):




					'''simple docstring'''






					UpperCAmelCase			:   int      =				socket.socket(socket.AF_INET							,      socket.SOCK_STREAM	)
					UpperCAmelCase			:   List[str]      =				socket.gethostname()
					UpperCAmelCase			:   Any      =				1_23_12

					sock.connect((host, port)	)
					sock.send(B"Hello server!"	)

					with open("Received_file"							,      "wb"	) as out_file:
										print("File opened"	)
										print("Receiving data..."	)
										while True:
															UpperCAmelCase			:   int      =				sock.recv(10_24	)
															if not data:
																				break
															out_file.write(_lowercase	)

					print("Successfully received the file"	)
					sock.close()
					print("Connection closed"	)


if __name__ == "__main__":
	main()





"""simple docstring"""






def   lowercase_	(    _lowercase       :		str	):




					'''simple docstring'''






					if not all(x.isalpha() for x in string	):
										raise ValueError("String must only contain alphabetic characters."	)

					UpperCAmelCase			:   Optional[int]      =				sorted(string.lower()	)
					return len(_lowercase	) == len(set(_lowercase	)	)


if __name__ == "__main__":
	snake_case_   :   Tuple        =       input("""Enter a string """).strip()

	snake_case_   :   str        =       is_isogram(input_str)
	print(f'''{input_str} is {"an" if isogram else "not an"} isogram.''')


