"""simple docstring"""






def 						a_		(      lowerCamelCase = 5_0_0_0_0_0_0_0 ):
				UpperCAmelCase__    =							set()
				UpperCAmelCase__    =							int((limit - 2_4) ** (1 / 2) )

				UpperCAmelCase__    =							set(range(3      ,    prime_square_limit + 1      ,    2 ) )
				primes.add(2 )
				for p in range(3      ,    prime_square_limit + 1      ,    2 ):
								if p not in primes:
												continue
								primes.difference_update(set(range(p * p      ,    prime_square_limit + 1      ,    lowerCamelCase ) ) )

				for primea in primes:
								UpperCAmelCase__    =							primea * primea
								for primea in primes:
												UpperCAmelCase__    =							primea * primea * primea
												if square + cube >= limit - 1_6:
																break
												for primea in primes:
																UpperCAmelCase__    =							primea * primea * primea * primea
																UpperCAmelCase__    =							square + cube + tetr
																if total >= limit:
																				break
																ret.add(lowerCamelCase )

				return len(lowerCamelCase )


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




"""simple docstring"""






import socket



def 						a_		(      ):
				UpperCAmelCase__    =							socket.socket(socket.AF_INET      ,    socket.SOCK_STREAM )
				UpperCAmelCase__    =							socket.gethostname()
				UpperCAmelCase__    =							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:
												UpperCAmelCase__    =							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()



