class 						__snake_case						:





      '''simple docstring'''






      def __init__(       self  :					Optional[Any])					->Optional[Any]:


          """simple docstring"""


          _lowerCamelCase  :		Tuple			    =    []
          _lowerCamelCase  :		str			    =    0
          _lowerCamelCase  :		Any			    =    0



      def __str__(       self  :					List[str])					->Optional[Any]:


          """simple docstring"""


          _lowerCamelCase  :		Optional[int]			    =    """<""" + str(self.entries)[1:-1] + """>"""
          return printed



      def 						_SCREAMING_SNAKE_CASE     (       self  :					List[Any]     ,	_UpperCamelCase  :					Any)					->List[str]:


          """simple docstring"""


          self.entries.append(_lowercase)
          _lowerCamelCase  :		Dict			    =    self.length + 1



      def 						_SCREAMING_SNAKE_CASE     (       self  :					Optional[Any])					->Optional[Any]:


          """simple docstring"""


          _lowerCamelCase  :		Dict			    =    self.length - 1
          _lowerCamelCase  :		str			    =    self.entries[self.front]
          # self.front-=1
          # self.entries = self.entries[self.front:]
          _lowerCamelCase  :		Tuple			    =    self.entries[1:]
          return dequeued



      def 						_SCREAMING_SNAKE_CASE     (       self  :					Union[str, Any]     ,	_UpperCamelCase  :					str)					->str:


          """simple docstring"""


          for _ in range(_lowercase):
              self.put(self.get())



      def 						_SCREAMING_SNAKE_CASE     (       self  :					Optional[Any])					->List[str]:


          """simple docstring"""


          return self.entries[0]




      def 						_SCREAMING_SNAKE_CASE     (       self  :					Dict)					->Optional[Any]:


          """simple docstring"""


          return self.length










from hashlib import mda, shaaaa

__A						:		Optional[int]          =						(shaaaa, mda)

class 		lowercase_       :




					def __init__(   self:		str,     _lowercase:		int = 8):


									'''simple docstring'''


									__lowerCAmelCase					=  0b0
									__lowerCAmelCase					=  size




					def     _lowercase						(   self:		Union[str, Any],     _lowercase:		str):


									'''simple docstring'''


									__lowerCAmelCase					=  self.hash_(_lowercase)
									self.bitarray |= h




					def     _lowercase						(   self:		Dict,     _lowercase:		str):


									'''simple docstring'''


									__lowerCAmelCase					=  self.hash_(_lowercase)
									return (h & self.bitarray) == h




					def __contains__(   self:		Dict,     _lowercase:		str):


									'''simple docstring'''


									return self.exists(_lowercase)




					def     _lowercase						(   self:		List[Any],     _lowercase:		int):


									'''simple docstring'''


									__lowerCAmelCase					=  bin(_lowercase)[2:]
									return res.zfill(self.size)




					@property
					def     _lowercase						(   self:		Union[str, Any]):


									'''simple docstring'''


									return self.format_bin(self.bitarray)




					def     _lowercase						(   self:		Union[str, Any],     _lowercase:		str):


									'''simple docstring'''


									__lowerCAmelCase					=  0b0
									for func in HASH_FUNCTIONS:
													__lowerCAmelCase					=  (
													    int.from_bytes(func(value.encode()).digest(),     """little""") % self.size
													)
													res |= 2**position
									return res




					def     _lowercase						(   self:		Any,     _lowercase:		str):


									'''simple docstring'''


									return self.format_bin(self.hash_(_lowercase))







					@property
					def     _lowercase						(   self:		Tuple):


									'''simple docstring'''


									__lowerCAmelCase					=  bin(self.bitarray).count("""1""")
									return (n_ones / self.size) ** len(_lowercase)





