





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

__A							:			int         =			6_3_7_8_1_3_7.0
__A							:			Dict         =			6_3_5_6_7_5_2.3_1_4_2_4_5
__A							:			List[Any]         =			6_378_137





def 				__lowerCAmelCase(       _SCREAMING_SNAKE_CASE							,     _SCREAMING_SNAKE_CASE							,     _SCREAMING_SNAKE_CASE							,     _SCREAMING_SNAKE_CASE				)							-> float:




    """simple docstring"""




    _A     =							(AXIS_A - AXIS_B) / AXIS_A
    _A     =							atan((1 - flattening) * tan(radians(_SCREAMING_SNAKE_CASE				)				)				)
    _A     =							atan((1 - flattening) * tan(radians(_SCREAMING_SNAKE_CASE				)				)				)
    _A     =							radians(_SCREAMING_SNAKE_CASE				)
    _A     =							radians(_SCREAMING_SNAKE_CASE				)
    # Equation
    _A     =							sin((phi_a - phi_a) / 2				)
    _A     =							sin((lambda_a - lambda_a) / 2				)
    # Square both values
    sin_sq_phi *= sin_sq_phi
    sin_sq_lambda *= sin_sq_lambda
    _A     =							sqrt(sin_sq_phi + (cos(_SCREAMING_SNAKE_CASE				) * cos(_SCREAMING_SNAKE_CASE				) * sin_sq_lambda)				)
    return 2 * RADIUS * asin(_SCREAMING_SNAKE_CASE				)


if __name__ == "__main__":
 import doctest

 doctest.testmod()












def 				__lowerCAmelCase(       _SCREAMING_SNAKE_CASE							,     _SCREAMING_SNAKE_CASE				)							-> int:




    """simple docstring"""




    return int((input_a, input_a).count(0				) != 0				)





def 				__lowerCAmelCase(       )							-> None:




    """simple docstring"""




    assert nand_gate(0							,     0				) == 1
    assert nand_gate(0							,     1				) == 1
    assert nand_gate(1							,     0				) == 1
    assert nand_gate(1							,     1				) == 0


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





