
import socket





def      lowerCamelCase_					(							):
				lowerCamelCase_         =     socket.socket(socket.AF_INET      ,					socket.SOCK_STREAM       )
				lowerCamelCase_         =     socket.gethostname()
				lowerCamelCase_         =     1_2_3_1_2

				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:
												lowerCamelCase_         =     sock.recv(1_0_2_4       )
												if not data:
																break
												out_file.write(lowerCamelCase__       )

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


if __name__ == "__main__":
			main()




import math





def      lowerCamelCase_					(							lowerCamelCase__      ,					lowerCamelCase__       ):
				if 0 not in (x, y):
								# We use the relation x^y = y*log10(x), where 10 is the base.
								return y * math.logaa(lowerCamelCase__       )
				else:
								if x == 0:  # 0 raised to any number is 0
												return 0
								elif y == 0:
												return 1  # any number raised to 0 is 1
				raise AssertionError("This should never happen"       )


if __name__ == "__main__":  # Main function
			# Read two numbers from input and typecast them to int using map function.
			# Here x is the base and y is the power.
			__A							='''Enter the base and the power separated by a comma: '''
			__A,		__A							=map(int, input(prompt).split(''','''))
			__A,		__A							=map(int, input(prompt).split(''','''))

			# We find the log of each number, using the function res(), which takes two
			# arguments.
			__A							=res(xa, ya)
			__A							=res(xa, ya)

			# We check for the largest number
			if resa > resa:
						print('''Largest number is''', xa, '''^''', ya)
			elif resa > resa:
						print('''Largest number is''', xa, '''^''', ya)
			else:
						print('''Both are equal''')


