def 					__lowercase						(    )					->int:

  '''simple docstring'''




  for a in range(3_00       ):
    for b in range(a + 1			,					4_00       ):
      for c in range(b + 1			,					5_00       ):
        if (a + b + c) == 10_00 and (a**2) + (b**2) == (c**2):
          return a * b * c

  return -1
def 					__lowercase						(    )					->int:

  '''simple docstring'''




  for a in range(3_00       ):
    for b in range(4_00       ):
      a__  		=  10_00 - a - b
      if a < b < c and (a**2) + (b**2) == (c**2):
        return a * b * c

  return -1
def 					__lowercase						(    )					->None:

  '''simple docstring'''




  import timeit

  print(
      timeit.timeit("solution()"			,					setup="from __main__ import solution"			,					number=10_00       )       )
  print(
      timeit.timeit(
          "solution_fast()"			,					setup="from __main__ import solution_fast"			,					number=10_00       )       )


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


from __future__ import annotations

from statistics import mean
def 					__lowercase						(    lowerCamelCase__       )					->list[int]:

  '''simple docstring'''




  a__  		=  2
  a__  		=  list(lowerCamelCase__       )
  a__  		=  [0] * len(lowerCamelCase__       )
  a__  		=  0
  while True:
    a__  		=  True
    for i, burst_time in enumerate(lowerCamelCase__       ):
      if rem_burst_times[i] > 0:
        a__  		=  False
        if rem_burst_times[i] > quantum:
          t += quantum
          rem_burst_times[i] -= quantum
        else:
          t += rem_burst_times[i]
          a__  		=  t - burst_time
          a__  		=  0
    if done is True:
      return waiting_times
def 					__lowercase						(    lowerCamelCase__			,					lowerCamelCase__       )					->list[int]:

  '''simple docstring'''




  return [burst + waiting for burst, waiting in zip(lowerCamelCase__			,					lowerCamelCase__       )]


if __name__ == "__main__":
     _SCREAMING_SNAKE_CASE     =     [3, 5, 7]
     _SCREAMING_SNAKE_CASE     =     calculate_waiting_times(burst_times)
     _SCREAMING_SNAKE_CASE     =     calculate_turn_around_times(burst_times, waiting_times)
     print("""Process ID \tBurst Time \tWaiting Time \tTurnaround Time""")
     for i, burst_time in enumerate(burst_times):
          print(
              F"""  {i + 1}\t\t  {burst_time}\t\t  {waiting_times[i]}\t\t  """
              F"""{turn_around_times[i]}"""
          )
     print(F"""\nAverage waiting time = {mean(waiting_times):.5f}""")
     print(F"""Average turn around time = {mean(turn_around_times):.5f}""")

