


from __future__ import annotations





def 						_lowerCAmelCase							(     _lowerCAmelCase   ,						_lowerCAmelCase			)    ->						list[list[int]]:


						'''simple docstring'''






						__snake_case				=		[]
						__snake_case				=		[]
						__snake_case				=		0
						__snake_case				=		sum(_lowerCAmelCase			)
						create_state_space_tree(_lowerCAmelCase   ,						_lowerCAmelCase   ,						_lowerCAmelCase   ,						_lowerCAmelCase   ,						_lowerCAmelCase   ,						_lowerCAmelCase			)
						return result





def 						_lowerCAmelCase							(     _lowerCAmelCase   ,						_lowerCAmelCase   ,						_lowerCAmelCase   ,						_lowerCAmelCase   ,						_lowerCAmelCase   ,						_lowerCAmelCase   ,						)    ->						None:


						'''simple docstring'''






						if sum(_lowerCAmelCase			) > max_sum or (remaining_nums_sum + sum(_lowerCAmelCase			)) < max_sum:
												return
						if sum(_lowerCAmelCase			) == max_sum:
												result.append(_lowerCAmelCase			)
												return
						for index in range(_lowerCAmelCase   ,						len(_lowerCAmelCase			)			):
												create_state_space_tree(
												    _lowerCAmelCase   ,						_lowerCAmelCase   ,						index + 1   ,						[*path, nums[index]]   ,						_lowerCAmelCase   ,						remaining_nums_sum - nums[index]   ,						)
A				:       Dict      =  [3, 34, 4, 12, 5, 2]
A				:       List[str]      =  9
A				:       Optional[int]      =  generate_sum_of_subsets_soln(nums, max_sum)


print(*result)









import requests
from bsa import BeautifulSoup





def 						_lowerCAmelCase							(     _lowerCAmelCase = "AAPL"			)    ->						str:


						'''simple docstring'''






						__snake_case				=		F'''https://in.finance.yahoo.com/quote/{symbol}?s={symbol}'''
						__snake_case				=		BeautifulSoup(requests.get(_lowerCAmelCase			).text   ,						"html.parser"			)
						__snake_case				=		"My(6px) Pos(r) smartphone_Mt(6px)"
						return soup.find("div"   ,						class_=class_			).find("span"			).text


if __name__ == "__main__":
	for symbol in "AAPL AMZN IBM GOOG MSFT ORCL".split():
		print(f'''Current {symbol:<4} stock price is {stock_price(symbol):>8}''')





