





import math

def     UpperCAmelCase_						(						_UpperCAmelCase       :Dict							)  ->							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(_UpperCAmelCase							) + 1							)     ,	6							):
          if number % i == 0 or number % (i + 2) == 0:
               return False
     return True

def     UpperCAmelCase_						(						_UpperCAmelCase       :Optional[Any] = 1000     ,	_UpperCAmelCase       :Any = 1000							)  ->							int:
     '''simple docstring'''


     A_					      =					[0, 0, 0]  # length, a, b
     for a in range((a_limit * -1) + 1     ,	_UpperCAmelCase							):
          for b in range(2     ,	_UpperCAmelCase							):
               if is_prime(_UpperCAmelCase							):
                    A_					      =					0
                    A_					      =					0
                    while is_prime((n**2) + (a * n) + b							):
                         count += 1
                         n += 1
                    if count > longest[0]:
                         A_					      =					[count, a, b]
     A_					      =					longest[1] * longest[2]
     return ans


if __name__ == "__main__":
      print(solution(1000, 1000))










from __future__ import annotations

def     UpperCAmelCase_						(						_UpperCAmelCase       :list							)  ->							int | float:
     '''simple docstring'''


     A_					      =					sorted(_UpperCAmelCase							)
     A_					      =					len(_UpperCAmelCase							)
     A_					      =					length >> 1
     return (
         (sorted_list[mid_index] + sorted_list[mid_index - 1]) / 2
         if length % 2 == 0
         else sorted_list[mid_index]
     )

def     UpperCAmelCase_						(						)  ->							Optional[Any]:
     '''simple docstring'''


     import doctest

     doctest.testmod()


if __name__ == "__main__":
      main()



