
'''simple docstring'''
from itertools import count
from math import asin, pi, sqrt






def       __SCREAMING_SNAKE_CASE   (						_SCREAMING_SNAKE_CASE   ):
							return (
							    (1 - 2 * point) * sqrt(point - point**2   ) + 2 * point + asin(sqrt(1 - point   )   )
							) / 4






def       __SCREAMING_SNAKE_CASE   (						_SCREAMING_SNAKE_CASE   ):
							_snake_case     =						(circles_number + 1 - sqrt(2 * circles_number   )) / (
							    2 * (circles_number**2 + 1)
							)
							_snake_case     =						circles_number * intersection_y

							_snake_case     =						intersection_x * intersection_y / 2
							_snake_case     =						circle_bottom_arc_integral(
							    1 / 2   ) - circle_bottom_arc_integral(_SCREAMING_SNAKE_CASE   )

							return triangle_area + concave_region_area






def       __SCREAMING_SNAKE_CASE   (						_SCREAMING_SNAKE_CASE = 1 / 1000   ):
							_snake_case     =						(1 - pi / 4) / 4

							for n in count(1   ):
														if concave_triangle_area(_SCREAMING_SNAKE_CASE   ) / l_section_area < fraction:
																					return n

							return -1


if __name__ == "__main__":
				print(f'''{solution() = }''')

'''simple docstring'''
from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


__lowerCAmelCase  							= {
    'configuration_deta': ['DETA_PRETRAINED_CONFIG_ARCHIVE_MAP', 'DetaConfig'],
}

try:
				if not is_vision_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				__lowerCAmelCase  							= ['DetaImageProcessor']

try:
				if not is_torch_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				__lowerCAmelCase  							= [
				    'DETA_PRETRAINED_MODEL_ARCHIVE_LIST',
				    'DetaForObjectDetection',
				    'DetaModel',
				    'DetaPreTrainedModel',
				]


if TYPE_CHECKING:
				from .configuration_deta import DETA_PRETRAINED_CONFIG_ARCHIVE_MAP, DetaConfig

				try:
								if not is_vision_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .image_processing_deta import DetaImageProcessor

				try:
								if not is_torch_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .modeling_deta import (
								    DETA_PRETRAINED_MODEL_ARCHIVE_LIST,
								    DetaForObjectDetection,
								    DetaModel,
								    DetaPreTrainedModel,
								)

else:
				import sys

				__lowerCAmelCase  							= _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)