






def 							A     (       a_ = 1							,a_ = 1_000					)     ->						int:
					__UpperCamelCase      :					Any       		=1
					__UpperCamelCase      :					Tuple       		=0

					for divide_by_number in range(a_							,digit + 1					):
										__UpperCamelCase      :					list[int]       		=[]
										__UpperCamelCase      :					Optional[Any]       		=numerator
										for _ in range(1							,digit + 1					):
															if now_divide in has_been_divided:
																				if longest_list_length < len(a_					):
																									__UpperCamelCase      :					Dict       		=len(a_					)
																									__UpperCamelCase      :					List[Any]       		=divide_by_number
															else:
																				has_been_divided.append(a_					)
																				__UpperCamelCase      :					Any       		=now_divide * 10 % divide_by_number

					return the_digit


# Tests
if __name__ == "__main__":
							import doctest

							doctest.testmod()









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

A__	:			Optional[int]			   = 637_8137.0
A__	:			List[str]			   = 635_6752.31_4245
A__	:			Union[str, Any]			   = 6_37_81_37






def   a			(						lowerCamelCase_		,   lowerCamelCase_		,   lowerCamelCase_		,   lowerCamelCase_				):






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


if __name__ == "__main__":
							import doctest

							doctest.testmod()




