






"""simple docstring"""
import operator as op






def 			__UpperCamelCase	(		snake_case__					):
	A_		:						Union[str, Any]	    =   []
	A_		:						List[str]	    =   lambda snake_case__   ,   snake_case__					: int(x / y					)  # noqa: E731 integer division operation
	A_		:						Dict	    =   {
	    """^""": op.pow,
	    """*""": op.mul,
	    """/""": div,
	    """+""": op.add,
	    """-""": op.sub,
	}  # operators & their respective operation

	# print table header
	print("""Symbol""".center(8					)   ,   """Action""".center(12					)   ,   """Stack"""   ,   sep=""" | """					)
	print("""-""" * (30 + len(snake_case__					))					)

	for x in post_fix:
		if x.isdigit():  # if x in digit
			stack.append(snake_case__					)  # append x to stack
			# output in tabular format
			print(x.rjust(8					)   ,   ("""push(""" + x + """)""").ljust(12					)   ,   """,""".join(snake_case__					)   ,   sep=""" | """					)
		else:
			A_		:						int	    =   stack.pop()  # pop stack
			# output in tabular format
			print("""""".rjust(8					)   ,   ("""pop(""" + b + """)""").ljust(12					)   ,   """,""".join(snake_case__					)   ,   sep=""" | """					)

			A_		:						Tuple	    =   stack.pop()  # pop stack
			# output in tabular format
			print("""""".rjust(8					)   ,   ("""pop(""" + a + """)""").ljust(12					)   ,   """,""".join(snake_case__					)   ,   sep=""" | """					)

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

	return int(stack[0]					)


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









"""simple docstring"""
import sys
import webbrowser

import requests
from bsa import BeautifulSoup
from fake_useragent import UserAgent

if __name__ == "__main__":
							print("Googling.....")
							_lowerCAmelCase         =							"https://www.google.com/search?q=" + " ".join(sys.argv[1:])
							_lowerCAmelCase         =							requests.get(url, headers={"UserAgent": UserAgent().random})
							# res.raise_for_status()
							with open("project1a.html", "wb") as out_file:  # only for knowing the class
														for data in res.iter_content(10_000):
																					out_file.write(data)
							_lowerCAmelCase         =							BeautifulSoup(res.text, "html.parser")
							_lowerCAmelCase         =							list(soup.select(".eZt8xd"))[:5]

							print(len(links))
							for link in links:
														if link.text == "Maps":
																					webbrowser.open(link.get("href"))
														else:
																					webbrowser.open(F'https://google.com{link.get("href")}')

