
'''simple docstring'''





from math import asin, atan, cos, radians, sin, sqrt, tan

SCREAMING_SNAKE_CASE     =       6_3_7_8_1_3_7.0
SCREAMING_SNAKE_CASE     =       6_3_5_6_7_5_2.3_1_4_2_4_5
SCREAMING_SNAKE_CASE     =       6_3_7_8_1_3_7







def snake_case_     (					lowercase__   ,       lowercase__   ,       lowercase__   ,       lowercase__		):
  UpperCAmelCase__      :					Tuple				       =							(AXIS_A - AXIS_B) / AXIS_A
  UpperCAmelCase__      :					Any				       =							atan((1 - flattening) * tan(radians(lowercase__		)		)		)
  UpperCAmelCase__      :					List[str]				       =							atan((1 - flattening) * tan(radians(lowercase__		)		)		)
  UpperCAmelCase__      :					Optional[int]				       =							radians(lowercase__		)
  UpperCAmelCase__      :					Dict				       =							radians(lowercase__		)
  # Equation
  UpperCAmelCase__      :					Dict				       =							sin((phi_a - phi_a) / 2		)
  UpperCAmelCase__      :					Dict				       =							sin((lambda_a - lambda_a) / 2		)
  # Square both values
  sin_sq_phi *= sin_sq_phi
  sin_sq_lambda *= sin_sq_lambda
  UpperCAmelCase__      :					int				       =							sqrt(sin_sq_phi + (cos(lowercase__		) * cos(lowercase__		) * sin_sq_lambda)		)
  return 2 * RADIUS * asin(lowercase__		)


if __name__ == "__main__":
      import doctest

      doctest.testmod()





'''simple docstring'''





def snake_case_     (					lowercase__		):

  if len(lowercase__		) <= 1:
    return [tuple(lowercase__		)]

  UpperCAmelCase__      :					Union[str, Any]				       =							[]

  def generate(lowercase__   ,       lowercase__		):
    UpperCAmelCase__      :					str				       =							[0] * n
    res.append(tuple(lowercase__		)		)

    UpperCAmelCase__      :					Any				       =							0
    while i < n:
      if c[i] < i:
        if i % 2 == 0:
          UpperCAmelCase__       ,			UpperCAmelCase__      :					str				       =							arr[i], arr[0]
        else:
          UpperCAmelCase__       ,			UpperCAmelCase__      :					Optional[Any]				       =							arr[i], arr[c[i]]
        res.append(tuple(lowercase__		)		)
        c[i] += 1
        UpperCAmelCase__      :					List[str]				       =							0
      else:
        UpperCAmelCase__      :					Dict				       =							0
        i += 1

  generate(len(lowercase__		)   ,       lowercase__		)
  return res


if __name__ == "__main__":
      SCREAMING_SNAKE_CASE     =       input("""Enter numbers separated by a comma:\n""").strip()
      SCREAMING_SNAKE_CASE     =       [int(item) for item in user_input.split(""",""")]
      print(heaps(arr))



