





"""simple docstring"""






from collections.abc import Iterable
from typing import Generic, TypeVar

A 			=  TypeVar('''_T''')




class 				__lowercase			(			Generic[_T]							):







					'''simple docstring'''




					def __init__(						self	,			_UpperCAmelCase = None     ):
									__a :						list[_T]			       =  list(iterable or []     )
									__a :						list[_T]			       =  []







					def __len__(						self     ):
									return len(self._stacka     ) + len(self._stacka     )







					def __repr__(						self     ):
									return f"""Queue({tuple(self._stacka[::-1] + self._stacka     )})"""







					def  _lowerCamelCase		(						self	,			_UpperCAmelCase     ):
									self._stacka.append(_UpperCAmelCase     )







					def  _lowerCamelCase		(						self     ):
									__a :						List[str]			       =  self._stacka.pop
									__a :						Optional[Any]			       =  self._stacka.append

									if not self._stacka:
													while self._stacka:
																	stacka_append(stacka_pop()     )

									if not self._stacka:
													raise IndexError('''Queue is empty'''     )
									return self._stacka.pop()


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

		testmod()






"""simple docstring"""






def     __A      (			a_						:int   ,       a_						:float   ,       a_						:float)		->		float:
				return round(float(moles / volume) * nfactor)

def     __A      (			a_						:float   ,       a_						:float   ,       a_						:float)		->		float:
				return round(float((moles * 0.0_8_2_1 * temperature) / (volume)))

def     __A      (			a_						:float   ,       a_						:float   ,       a_						:float)		->		float:
				return round(float((moles * 0.0_8_2_1 * temperature) / (pressure)))

def     __A      (			a_						:float   ,       a_						:float   ,       a_						:float)		->		float:
				return round(float((pressure * volume) / (0.0_8_2_1 * moles)))


if __name__ == "__main__":
		import doctest

		doctest.testmod()