





"""simple docstring"""
def 					__lowerCamelCase       (							)      ->				int:
      return [
          a * b * (10_00 - a - b)
          for a in range(1			,       9_99							)
          for b in range(a_			,       9_99							)
          if (a * a + b * b == (10_00 - a - b) ** 2)
      ][0]


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






"""simple docstring"""
def 					__lowerCamelCase       (							a_					:		int			,       a_					:		int							)      ->				int:
      return int((input_a, input_a).count(0							) == 0							)



def 					__lowerCamelCase       (							)      ->				None:
      assert and_gate(0			,       0							) == 0
      assert and_gate(0			,       1							) == 0
      assert and_gate(1			,       0							) == 0
      assert and_gate(1			,       1							) == 1


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