


def      a	(							SCREAMING_SNAKE_CASE_      :		int = 1_0_0_0       ):






       """simple docstring"""





       UpperCamelCase    :	str   	=		-1
       UpperCamelCase    :	Dict   	=		0
       for a in range(1							,			n // 3       ):
              # Solving the two equations a**2+b**2=c**2 and a+b+c=N eliminating c
              UpperCamelCase    :	Tuple   	=		(n * n - 2 * a * n) // (2 * n - 2 * a)
              UpperCamelCase    :	Union[str, Any]   	=		n - a - b
              if c * c == (a * a + b * b):
                     UpperCamelCase    :	List[str]   	=		a * b * c
                     if candidate >= product:
                            UpperCamelCase    :	Any   	=		candidate
       return product


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





from .imports import is_tqdm_available


if is_tqdm_available():
  from tqdm.auto import tqdm as _tqdm

from ..state import PartialState


def      a	(							SCREAMING_SNAKE_CASE_      :		bool = True							,			*SCREAMING_SNAKE_CASE_      :		List[str]							,			**SCREAMING_SNAKE_CASE_      :		Tuple       ):






       """simple docstring"""





       if not is_tqdm_available():
              raise ImportError('''Accelerate\'s `tqdm` module requires `tqdm` to be installed. Please run `pip install tqdm`.'''       )
       UpperCamelCase    :	int   	=		False
       if main_process_only:
              UpperCamelCase    :	int   	=		PartialState().local_process_index == 0
       return _tqdm(*SCREAMING_SNAKE_CASE_							,			**SCREAMING_SNAKE_CASE_							,			disable=SCREAMING_SNAKE_CASE_       )

