



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

_lowerCamelCase						    =  6_3_7_8_1_3_7.0
_lowerCamelCase						    =  6_3_5_6_7_5_2.3_1_4_2_4_5
_lowerCamelCase						    =  6378137






def 	_lowerCAmelCase						(				__lowerCamelCase   :     float		,	__lowerCamelCase   :     float		,	__lowerCamelCase   :     float		,	__lowerCamelCase   :     float     ):



 """simple docstring"""





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


if __name__ == "__main__":
      import doctest

      doctest.testmod()











def 	_lowerCAmelCase						(				__lowerCamelCase   :     Union[str, Any]		,	__lowerCamelCase   :     Dict		,	__lowerCamelCase   :     Dict		,	__lowerCamelCase   :     int     ):



 """simple docstring"""





 if height >= 1:
  move_tower(height - 1		,	__lowerCamelCase		,	__lowerCamelCase		,	__lowerCamelCase     )
  move_disk(__lowerCamelCase		,	__lowerCamelCase     )
  move_tower(height - 1		,	__lowerCamelCase		,	__lowerCamelCase		,	__lowerCamelCase     )






def 	_lowerCAmelCase						(				__lowerCamelCase   :     Optional[Any]		,	__lowerCamelCase   :     Optional[int]     ):



 """simple docstring"""





 print("moving disk from"		,	__lowerCamelCase		,	"to"		,	__lowerCamelCase     )






def 	_lowerCAmelCase						(				):



 """simple docstring"""





 __SCREAMING_SNAKE_CASE       :    List[Any]       =	int(input("Height of hanoi: "     ).strip()     )
 move_tower(__lowerCamelCase		,	"A"		,	"B"		,	"C"     )


if __name__ == "__main__":
      main()






