




"""simple docstring"""




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

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







def      __UpperCAmelCase     ( __UpperCamelCase	,				__UpperCamelCase	,				__UpperCamelCase	,				__UpperCamelCase	):
			__lowercase			:  str								=       (AXIS_A - AXIS_B) / AXIS_A
			__lowercase			:  List[str]								=       atan((1 - flattening) * tan(radians(_A	)	)	)
			__lowercase			:  str								=       atan((1 - flattening) * tan(radians(_A	)	)	)
			__lowercase			:  int								=       radians(_A	)
			__lowercase			:  str								=       radians(_A	)
			# Equation
			__lowercase			:  List[str]								=       sin((phi_a - phi_a) / 2	)
			__lowercase			:  Dict								=       sin((lambda_a - lambda_a) / 2	)
			# Square both values
			sin_sq_phi *= sin_sq_phi
			sin_sq_lambda *= sin_sq_lambda
			__lowercase			:  List[str]								=       sqrt(sin_sq_phi + (cos(_A	) * cos(_A	) * sin_sq_lambda)	)
			return 2 * RADIUS * asin(_A	)


if __name__ == "__main__":
			import doctest

			doctest.testmod()





"""simple docstring"""



import os
from math import logaa


def 			_UpperCamelCase						(    _A = "base_exp.txt"   )     ->	int:





    """simple docstring"""

    _UpperCAmelCase        = 0
    _UpperCAmelCase        = 0
    for i, line in enumerate(open(os.path.join(os.path.dirname(_A   )       ,   _A   )   )   ):
        _UpperCAmelCase     ,_UpperCAmelCase        = list(map(_A       ,   line.split(""","""   )   )   )
        if x * logaa(_A   ) > largest:
            _UpperCAmelCase        = x * logaa(_A   )
            _UpperCAmelCase        = i + 1
    return result


if __name__ == "__main__":
 print(solution())