





def      a__			(       lowercase__	,     lowercase__	,     lowercase__	,     lowercase__	,     lowercase__	,     ):






   '''simple docstring'''






   UpperCAmelCase_           =[redshift, radiation_density, matter_density, dark_energy]
   if any(p < 0 for p in parameters	):
      raise ValueError("All input parameters must be positive"	)

   if any(p > 1 for p in parameters[1:4]	):
      raise ValueError("Relative densities cannot be greater than one"	)
   else:
      UpperCAmelCase_           =1 - (matter_density + radiation_density + dark_energy)

      UpperCAmelCase_           =(
          radiation_density * (redshift + 1) ** 4
          + matter_density * (redshift + 1) ** 3
          + curvature * (redshift + 1) ** 2
          + dark_energy
      )

      UpperCAmelCase_           =hubble_constant * e_a ** (1 / 2)
      return hubble


if __name__ == "__main__":
     import doctest

     # run doctest
     doctest.testmod()

     # demo LCDM approximation
     __lowercase	: int       =0.3

     print(
         hubble_parameter(
             hubble_constant=68.3,
             radiation_density=1E-4,
             matter_density=matter_density,
             dark_energy=1 - matter_density,
             redshift=0,
         )
     )






'''simple docstring'''





import operator as op







def snake_case_     (					lowercase__		):
  UpperCAmelCase__      :					Optional[Any]				       =							[]
  UpperCAmelCase__      :					Any				       =							lambda lowercase__   ,       lowercase__		: int(x / y		)  # noqa: E731 integer division operation
  UpperCAmelCase__      :					Any				       =							{
      "^": op.pow,
      "*": op.mul,
      "/": div,
      "+": op.add,
      "-": op.sub,
  }  # operators & their respective operation

  # print table header
  print("Symbol".center(8		)   ,       "Action".center(1_2		)   ,       "Stack"   ,       sep=" | "		)
  print("-" * (3_0 + len(lowercase__		))		)

  for x in post_fix:
    if x.isdigit():  # if x in digit
      stack.append(lowercase__		)  # append x to stack
      # output in tabular format
      print(x.rjust(8		)   ,       ("push(" + x + ")").ljust(1_2		)   ,       ",".join(lowercase__		)   ,       sep=" | "		)
    else:
      UpperCAmelCase__      :					str				       =							stack.pop()  # pop stack
      # output in tabular format
      print("".rjust(8		)   ,       ("pop(" + b + ")").ljust(1_2		)   ,       ",".join(lowercase__		)   ,       sep=" | "		)

      UpperCAmelCase__      :					List[Any]				       =							stack.pop()  # pop stack
      # output in tabular format
      print("".rjust(8		)   ,       ("pop(" + a + ")").ljust(1_2		)   ,       ",".join(lowercase__		)   ,       sep=" | "		)

      stack.append(
          str(opr[x](int(lowercase__		)   ,       int(lowercase__		)		)		)		)  # evaluate the 2 values popped from stack & push result to stack
      # output in tabular format
      print(
          x.rjust(8		)   ,       ("push(" + a + x + b + ")").ljust(1_2		)   ,       ",".join(lowercase__		)   ,       sep=" | "   ,       )

  return int(stack[0]		)


if __name__ == "__main__":
      SCREAMING_SNAKE_CASE     =       input("""\n\nEnter a Postfix Equation (space separated) = """).split(""" """)
      print("""\n\tResult = """, solve(Postfix))



