

'''simple docstring'''
from ..utils import requires_backends


_snake_case     						=						None


class      a__						:


   def __init__(				self    ,       *_UpperCamelCase    ,       **_UpperCamelCase						):





      """simple docstring"""





      requires_backends(self    ,       ["detectron2"]						)






   @classmethod
   def 		_lowerCamelCase     (				cls    ,       *_UpperCamelCase    ,       **_UpperCamelCase						):





      """simple docstring"""





      requires_backends(cls    ,       ["detectron2"]						)









'''simple docstring'''
def       _A	(			snake_case  )    ->			int:

   # validate:
   if not isinstance(snake_case	,							snake_case  ) or not all(
       isinstance(snake_case	,							snake_case  ) and item >= 0 for item in citations  ):
      raise ValueError("The citations should be a list of non negative integers."  )

   citations.sort()
   _lowercase    :   Tuple      =     len(snake_case  )

   for i in range(snake_case  ):
      if citations[len_citations - 1 - i] <= i:
         return i

   return len_citations


if __name__ == "__main__":
    import doctest

    doctest.testmod()






