'''simple docstring'''





def 						__A							(     UpperCAmelCase     ,UpperCAmelCase					)     ->			list[int]:




						'''simple docstring'''
						_UpperCamelCase			:			str   			=						int(UpperCAmelCase					)

						# Initialize Result
						_UpperCamelCase			:			Optional[int]   			=						[]

						# Traverse through all denomination
						for denomination in reversed(UpperCAmelCase					):
												# Find denominations
												while int(UpperCAmelCase					) >= int(UpperCAmelCase					):
																		total_value -= int(UpperCAmelCase					)
																		answer.append(UpperCAmelCase					)  # Append the "answers" array

						return answer


# Driver Code
if __name__ == "__main__":
			lowerCAmelCase_	:		Union[str, Any]			=     []
			lowerCAmelCase_	:		Union[str, Any]			=     """0"""

			if (
			    input("""Do you want to enter your denominations ? (yY/n): """).strip().lower()
			    == "y"
			):
						lowerCAmelCase_	:		Any			=     int(input("""Enter the number of denominations you want to add: """).strip())

						for i in range(0, n):
									denominations.append(int(input(f"""Denomination {i}: """).strip()))
						lowerCAmelCase_	:		int			=     input("""Enter the change you want to make in Indian Currency: """).strip()
			else:
						# All denominations of Indian Currency if user does not enter
						lowerCAmelCase_	:		Union[str, Any]			=     [1, 2, 5, 10, 20, 50, 100, 500, 2000]
						lowerCAmelCase_	:		Optional[int]			=     input("""Enter the change you want to make: """).strip()

			if int(value) == 0 or int(value) < 0:
						print("""The total value cannot be zero or negative.""")

			else:
						print(f"""Following is minimal change for {value}: """)
						lowerCAmelCase_	:		Union[str, Any]			=     find_minimum_change(denominations, value)
						# Print result
						for i in range(len(answer)):
									print(answer[i], end=""" """)



'''simple docstring'''





import requests
from bsa import BeautifulSoup
def 						__A							(     UpperCAmelCase     ,UpperCAmelCase					)     ->			str:




						'''simple docstring'''
						_UpperCamelCase			:			Dict   			=						BeautifulSoup(requests.get(UpperCAmelCase     ,params=UpperCAmelCase					).content     ,"html.parser"					)
						_UpperCamelCase			:			Union[str, Any]   			=						soup.find("div"     ,attrs={"class": "gs_ri"}					)
						_UpperCamelCase			:			Optional[Any]   			=						div.find("div"     ,attrs={"class": "gs_fl"}					).find_all("a"					)
						return anchors[2].get_text()


if __name__ == "__main__":
			lowerCAmelCase_	:		Optional[int]			=     {
			    """title""": (
			        """Precisely geometry controlled microsupercapacitors for ultrahigh areal """
			        """capacitance, volumetric capacitance, and energy density"""
			    ),
			    """journal""": """Chem. Mater.""",
			    """volume""": 30,
			    """pages""": """3979-3990""",
			    """year""": 2018,
			    """hl""": """en""",
			}
			print(get_citation("""https://scholar.google.com/scholar_lookup""", params=params))


