






'''simple docstring'''




from __future__ import annotations

from enum import Enum

class      _UpperCAmelCase    (  snake_case_		):




   """simple docstring"""

   snake_case					       =		24
   snake_case					       =		21
   snake_case					       =		18
   snake_case					       =		15
   snake_case					       =		12
   snake_case					       =		9
   snake_case					       =		6
   snake_case					       =		3
   snake_case					       =		2
   snake_case					       =		1
   snake_case					       =		-1
   snake_case					       =		-2
   snake_case					       =		-3
   snake_case					       =		-6
   snake_case					       =		-9
   snake_case					       =		-12
   snake_case					       =		-15
   snake_case					       =		-18
   snake_case					       =		-21
   snake_case					       =		-24





class      _UpperCAmelCase    (  snake_case_		):




   """simple docstring"""

   snake_case					       =		8
   snake_case					       =		7
   snake_case					       =		6
   snake_case					       =		5
   snake_case					       =		4
   snake_case					       =		3
   snake_case					       =		2
   snake_case					       =		1





def       __lowercase		(    __lowercase     ,						__lowercase     ,						__lowercase     ,						) ->		float:

      '''simple docstring'''


      if isinstance(__lowercase     ,						__lowercase ):
            _A      =			SIUnit[known_prefix.lower()]
      if isinstance(__lowercase     ,						__lowercase ):
            _A      =			SIUnit[unknown_prefix.lower()]
      _A      =			known_amount * (
          10 ** (known_prefix.value - unknown_prefix.value)
      )
      return unknown_amount

def       __lowercase		(    __lowercase     ,						__lowercase     ,						__lowercase     ,						) ->		float:

      '''simple docstring'''


      if isinstance(__lowercase     ,						__lowercase ):
            _A      =			BinaryUnit[known_prefix.lower()]
      if isinstance(__lowercase     ,						__lowercase ):
            _A      =			BinaryUnit[unknown_prefix.lower()]
      _A      =			known_amount * (
          2 ** ((known_prefix.value - unknown_prefix.value) * 10)
      )
      return unknown_amount


if __name__ == "__main__":
    import doctest

    doctest.testmod()













'''simple docstring'''




from __future__ import annotations

from collections.abc import Iterator
from typing import Any

class      _UpperCAmelCase    :




   """simple docstring"""

   def __init__(	self				:			Any   ,   __UpperCAmelCase				:			Any	):





         '''simple docstring'''





         _A      =			data
         _A      =			None

   def __str__(	self				:			str	):





         '''simple docstring'''





         return f'''{self.data}'''





class      _UpperCAmelCase    :




   """simple docstring"""

   def __init__(	self				:			Optional[int]	):





         '''simple docstring'''





         _A      =			None
         _A      =			None

   def __iter__(	self				:			List[Any]	):





         '''simple docstring'''





         _A      =			self.front
         while node:
               yield node.data
               _A      =			node.next

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





         '''simple docstring'''





         return len(tuple(iter(self	)	)	)

   def __str__(	self				:			int	):





         '''simple docstring'''





         return " <- ".join(str(__UpperCAmelCase	) for item in self	)

   def 		lowerCAmelCase				(	self				:			List[Any]	):





         '''simple docstring'''





         return len(self	) == 0

   def 		lowerCAmelCase				(	self				:			int   ,   __UpperCAmelCase				:			Any	):





         '''simple docstring'''





         _A      =			Node(__UpperCAmelCase	)
         if self.is_empty():
               _A      =			_A      =			node
         else:
               assert isinstance(self.rear   ,   __UpperCAmelCase	)
               _A      =			node
               _A      =			node

   def 		lowerCAmelCase				(	self				:			str	):





         '''simple docstring'''





         if self.is_empty():
               raise IndexError("dequeue from empty queue"	)
         assert isinstance(self.front   ,   __UpperCAmelCase	)
         _A      =			self.front
         _A      =			self.front.next
         if self.front is None:
               _A      =			None
         return node.data

   def 		lowerCAmelCase				(	self				:			int	):





         '''simple docstring'''





         _A      =			_A      =			None


if __name__ == "__main__":
    from doctest import testmod

    testmod()





