


def     __SCREAMING_SNAKE_CASE							(       lowercase_ = 50000000      )		->     int:




						'''simple docstring'''







						__UpperCAmelCase			:							Any	    =	set()
						__UpperCAmelCase			:							List[Any]	    =	int((limit - 24) ** (1 / 2)      )

						__UpperCAmelCase			:							Tuple	    =	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      ,       lowercase_      )      )      )

						for primea in primes:
												__UpperCAmelCase			:							Tuple	    =	primea * primea
												for primea in primes:
																		__UpperCAmelCase			:							Any	    =	primea * primea * primea
																		if square + cube >= limit - 16:
																								break
																		for primea in primes:
																								__UpperCAmelCase			:							List[Any]	    =	primea * primea * primea * primea
																								__UpperCAmelCase			:							Dict	    =	square + cube + tetr
																								if total >= limit:
																														break
																								ret.add(lowercase_      )

						return len(lowercase_      )


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





import inspect
import os
import sys
import unittest

import accelerate
from accelerate.test_utils import execute_subprocess_async, require_tpu




class 							lowerCamelCase   (  unittest.TestCase ):


	def  A(    self):
							__UpperCAmelCase			:							List[Any]	    =	inspect.getfile(accelerate.test_utils)
							__UpperCAmelCase			:							Dict	    =	os.path.sep.join(mod_file.split(os.path.sep)[:-1] + ['''scripts''', '''test_script.py'''])
							__UpperCAmelCase			:							Union[str, Any]	    =	os.path.sep.join(inspect.getfile(self.__class__).split(os.path.sep)[:-1])


	@require_tpu
	def  A(    self):
							__UpperCAmelCase			:							Dict	    =	F"\n            {self.test_dir}/xla_spawn.py\n            --num_cores 8\n            {self.test_file_path}\n        ".split()
							__UpperCAmelCase			:							Union[str, Any]	    =	[sys.executable] + distributed_args
							execute_subprocess_async(lowercase__				,     env=os.environ.copy())

