code: 
  """simple docstring"""
  def     __lowerCamelCase  (		UpperCamelCase__				,     UpperCamelCase__      ):
  
  
  	"""simple docstring"""
  
  
  
  
  
  
  	_UpperCAmelCase =						len(UpperCamelCase__      )
  	# Create a stack and push index of fist element to it
  	_UpperCAmelCase =						[]
  	st.append(0      )
  
  	# Span value of first element is always 1
  	_UpperCAmelCase =						1
  
  	# Calculate span values for rest of the elements
  	for i in range(1				,     UpperCamelCase__      ):
  		# Pop elements from stack while stack is not
  		# empty and top of stack is smaller than price[i]
  		while len(UpperCamelCase__      ) > 0 and price[st[0]] <= price[i]:
  			st.pop()
  
  		# If stack becomes empty, then price[i] is greater
  		# than all elements on left of it, i.e. price[0],
  		# price[1], ..price[i-1]. Else the price[i]  is
  		# greater than elements after top of stack
  		_UpperCAmelCase =						i + 1 if len(UpperCamelCase__      ) <= 0 else (i - st[0])
  
  		# Push this element to stack
  		st.append(UpperCamelCase__      )
  
  
  
  
  def     __lowerCamelCase  (		UpperCamelCase__				,     UpperCamelCase__      ):
  
  
  	"""simple docstring"""
  
  
  
  
  
  
  	for i in range(0				,     UpperCamelCase__      ):
  		print(arr[i]				,     end=" "      )
  
  
  # Driver program to test above function
  __magic_name__		       =				[10, 4, 5, 90, 1_20, 80]
  __magic_name__		       =				[0 for i in range(len(price) + 1)]
  
  # Fill the span values in array S[]
  calculation_span(price, S)
  
  
  
  print_array(S, len(price))
  
  
  
  
  
style_context: 
  """simple docstring"""
  from collections import namedtuple
  
  __magic_name__		       =				namedtuple('''from_to''', '''from_ to''')
  
  __magic_name__		       =				{
      '''atm''': from_to(1, 1),
      '''pascal''': from_to(0.0000098, 10_13_25),
      '''bar''': from_to(0.986923, 1.01325),
      '''kilopascal''': from_to(0.00986923, 101.325),
      '''megapascal''': from_to(9.86923, 0.101325),
      '''psi''': from_to(0.068046, 14.6959),
      '''inHg''': from_to(0.0334211, 29.9213),
      '''torr''': from_to(0.00131579, 7_60),
  }
  
  
  
  
  def     __lowerCamelCase  (		UpperCamelCase__				,     UpperCamelCase__				,     UpperCamelCase__      ):
  
  
  	"""simple docstring"""
  
  
  
  
  
  
  	if from_type not in PRESSURE_CONVERSION:
  		raise ValueError(
  		    f"Invalid 'from_type' value: {from_type!r}  Supported values are:\n"
  		    + ", ".join(UpperCamelCase__      )      )
  	if to_type not in PRESSURE_CONVERSION:
  		raise ValueError(
  		    f"Invalid 'to_type' value: {to_type!r}.  Supported values are:\n"
  		    + ", ".join(UpperCamelCase__      )      )
  	return (
  	    value * PRESSURE_CONVERSION[from_type].from_ * PRESSURE_CONVERSION[to_type].to
  	)
  
  
  if __name__ == "__main__":
  			import doctest
  
  			doctest.testmod()
  
  
  
  
  