






'''simple docstring'''

A:      Any  				=				8.314_462  # Unit - J mol-1 K-1






def 	_UpperCAmelCase    (  a		:	float						,			a		:	float						,			a		:	float							)			->			float:





						"""simple docstring"""
						if moles < 0 or kelvin < 0 or volume < 0:
												raise ValueError('Invalid inputs. Enter positive value.'							)
						return moles * kelvin * UNIVERSAL_GAS_CONSTANT / volume






def 	_UpperCAmelCase    (  a		:	float						,			a		:	float						,			a		:	float							)			->			float:





						"""simple docstring"""
						if moles < 0 or kelvin < 0 or pressure < 0:
												raise ValueError('Invalid inputs. Enter positive value.'							)
						return moles * kelvin * UNIVERSAL_GAS_CONSTANT / pressure


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

	testmod()








'''simple docstring'''

class 							__magic_name__     :







	"""simple docstring"""



	def __init__(							self  ,      _lowercase       )						->  Union[str, Any]:
							lowercase_      :   Dict        =			n
							lowercase_      :   Dict        =			[None] * self.n
							lowercase_      :   Tuple        =			0  # index of the first element
							lowercase_      :   List[Any]        =			0
							lowercase_      :   List[Any]        =			0
	def __len__(							self       )						->  int:
							return self.size
	def        lowerCamelCase__		(							self       )						->  bool:
							return self.size == 0
	def        lowerCamelCase__		(							self       )						->  List[Any]:
							return False if self.is_empty() else self.array[self.front]
	def        lowerCamelCase__		(							self  ,      _lowercase       )						->  Any:
							if self.size >= self.n:
													raise Exception('QUEUE IS FULL'       )

							lowercase_      :   Tuple        =			data
							lowercase_      :   List[Any]        =			(self.rear + 1) % self.n
							self.size += 1
							return self







	def        lowerCamelCase__		(							self       )						->  Any:
							if self.size == 0:
													raise Exception('UNDERFLOW'       )

							lowercase_      :   Dict        =			self.array[self.front]
							lowercase_      :   Tuple        =			None
							lowercase_      :   int        =			(self.front + 1) % self.n
							self.size -= 1
							return temp
