

import sys
import turtle




def 			UpperCAmelCase__				(			_A      : tuple[float, float]	,      _A      : tuple[float, float]							):





  '''simple docstring'''







  return (pa[0] + pa[0]) / 2, (pa[1] + pa[1]) / 2




def 			UpperCAmelCase__				(			_A      : tuple[float, float]	,      _A      : tuple[float, float]	,      _A      : tuple[float, float]	,      _A      : int	,      ):





  '''simple docstring'''







  my_pen.up()
  my_pen.goto(vertexa[0]	,      vertexa[1]							)
  my_pen.down()
  my_pen.goto(vertexa[0]	,      vertexa[1]							)
  my_pen.goto(vertexa[0]	,      vertexa[1]							)
  my_pen.goto(vertexa[0]	,      vertexa[1]							)

  if depth == 0:
    return

  triangle(_A	,      get_mid(_A	,      _A							)	,      get_mid(_A	,      _A							)	,      depth - 1							)
  triangle(_A	,      get_mid(_A	,      _A							)	,      get_mid(_A	,      _A							)	,      depth - 1							)
  triangle(_A	,      get_mid(_A	,      _A							)	,      get_mid(_A	,      _A							)	,      depth - 1							)


if __name__ == "__main__":
       if len(sys.argv) != 2:
              raise ValueError(
                  '''Correct format for using this script: '''
                  '''python fractals.py <int:depth_for_fractal>'''
              )
       lowerCamelCase           =					turtle.Turtle()
       my_pen.ht()
       my_pen.speed(5)
       my_pen.pencolor('''red''')

       lowerCamelCase           =					[(-175, -125), (0, 175), (175, -125)]  # vertices of triangle
       triangle(vertices[0], vertices[1], vertices[2], int(sys.argv[1]))



def 			UpperCAmelCase__				(			):





  '''simple docstring'''







  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() = }""")
