





class 		SCREAMING_SNAKE_CASE__				:


      def __init__(self       :      Union[str, Any]				,			a__       :      int      ):





         """simple docstring"""



         __snake_case							       =   n
         __snake_case							       =   [None] * self.n
         __snake_case							       =   0  # index of the first element
         __snake_case							       =   0
         __snake_case							       =   0


      def __len__(self       :      List[str]      ):





         """simple docstring"""



         return self.size


      def    a (self       :      str      ):





         """simple docstring"""



         return self.size == 0


      def    a (self       :      Dict      ):





         """simple docstring"""



         return False if self.is_empty() else self.array[self.front]


      def    a (self       :      Optional[Any]				,			a__       :      List[Any]      ):





         """simple docstring"""



         if self.size >= self.n:
            raise Exception('''QUEUE IS FULL'''      )

         __snake_case							       =   data
         __snake_case							       =   (self.rear + 1) % self.n
         self.size += 1
         return self


      def    a (self       :      str      ):





         """simple docstring"""



         if self.size == 0:
            raise Exception('''UNDERFLOW'''      )

         __snake_case							       =   self.array[self.front]
         __snake_case							       =   None
         __snake_case							       =   (self.front + 1) % self.n
         self.size -= 1
         return temp








from math import loga






def lowerCamelCase__    (							snake_case_	:  int       )      ->				int:
   if a < 0:
      raise ValueError('''Input value must be a positive integer'''       )
   elif isinstance(snake_case_       ,      snake_case_       ):
      raise TypeError('''Input value must be a \'int\' type'''       )
   return 0 if (a == 0) else int(loga(a & -a       )       )


if __name__ == "__main__":
    import doctest

    doctest.testmod()

