



"""simple docstring"""
def    _snake_case		(		UpperCamelCase		:	int = 1000		):
 UpperCAmelCase			:      Dict			=			-1
 UpperCAmelCase			:      str			=			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			:      Dict			=			n - a - b
  if c * c == (a * a + b * b):
   UpperCAmelCase			:      str			=			a * b * c
   if candidate >= product:
    UpperCAmelCase			:      List[str]			=			candidate
 return product


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





"""simple docstring"""
def    _snake_case		(		UpperCamelCase		:	int    ,	UpperCamelCase		:	int		):
 return 1 if input_a == input_a else 0

def    _snake_case		(		):
 assert xnor_gate(0    ,	0		) == 1
 assert xnor_gate(0    ,	1		) == 0
 assert xnor_gate(1    ,	0		) == 0
 assert xnor_gate(1    ,	1		) == 1


if __name__ == "__main__":
      print(xnor_gate(0, 0))
      print(xnor_gate(0, 1))
      print(xnor_gate(1, 0))
      print(xnor_gate(1, 1))
