





def  _SCREAMING_SNAKE_CASE				(   a					,						a  )      ->      list[int]:
					__A	:						Optional[int]       =				int(a  )

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

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

					return answer


# Driver Code
if __name__ == "__main__":
				UpperCAmelCase						:   List[str]			  =     []
				UpperCAmelCase						:   Optional[int]			  =     '''0'''

				if (
				    input('''Do you want to enter your denominations ? (yY/n): ''').strip().lower()
				    == "y"
				):
								UpperCAmelCase						:   List[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()))
								UpperCAmelCase						:   int			  =     input('''Enter the change you want to make in Indian Currency: ''').strip()
				else:
								# All denominations of Indian Currency if user does not enter
								UpperCAmelCase						:   Optional[int]			  =     [1, 2, 5, 10, 20, 50, 1_00, 5_00, 20_00]
								UpperCAmelCase						:   Tuple			  =     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}: """)
								UpperCAmelCase						:   Optional[int]			  =     find_minimum_change(denominations, value)
								# Print result
								for i in range(len(answer)):
												print(answer[i], end=''' ''')











import colorsys

from PIL import Image  # type: ignore







def  _SCREAMING_SNAKE_CASE				(   a					,						a					,						a  )      ->      float:
					__A	:						List[str]       =				x
					__A	:						str       =				y
					for step in range(a  ):  # noqa: B007
										__A	:						Union[str, Any]       =				a * a - b * b + x
										__A	:						Optional[int]       =				2 * a * b + y
										__A	:						List[str]       =				a_new

										# divergence happens for all complex number with an absolute value
										# greater than 4
										if a * a + b * b > 4:
															break
					return step / (max_step - 1)







def  _SCREAMING_SNAKE_CASE				(   a  )      ->      tuple:
					if distance == 1:
										return (0, 0, 0)
					else:
										return (2_55, 2_55, 2_55)







def  _SCREAMING_SNAKE_CASE				(   a  )      ->      tuple:
					if distance == 1:
										return (0, 0, 0)
					else:
										return tuple(round(i * 2_55  ) for i in colorsys.hsv_to_rgb(a					,						1					,						1  )  )







def  _SCREAMING_SNAKE_CASE				(   a = 8_00					,						a = 6_00					,						a = -0.6					,						a = 0					,						a = 3.2					,						a = 50					,						a = True					,						)      ->      Image.Image:
					__A	:						str       =				Image.new('RGB'					,						(image_width, image_height)  )
					__A	:						Dict       =				img.load()

					# loop through the image-coordinates
					for image_x in range(a  ):
										for image_y in range(a  ):
															# determine the figure-coordinates based on the image-coordinates
															__A	:						Dict       =				figure_width / image_width * image_height
															__A	:						Union[str, Any]       =				figure_center_x + (image_x / image_width - 0.5) * figure_width
															__A	:						Optional[Any]       =				figure_center_y + (image_y / image_height - 0.5) * figure_height

															__A	:						Union[str, Any]       =				get_distance(a					,						a					,						a  )

															# color the corresponding pixel based on the selected coloring-function
															if use_distance_color_coding:
																				__A	:						Optional[Any]       =				get_color_coded_rgb(a  )
															else:
																				__A	:						Dict       =				get_black_and_white_rgb(a  )

					return img


if __name__ == "__main__":
				import doctest

				doctest.testmod()

				# colored version, full figure
				UpperCAmelCase						:   str			  =     get_image()

				# uncomment for colored version, different section, zoomed in
				# img = get_image(figure_center_x = -0.6, figure_center_y = -0.4,
				# figure_width = 0.8)

				# uncomment for black and white version, full figure
				# img = get_image(use_distance_color_coding = False)

				# uncomment to save the image
				# img.save("mandelbrot.png")

				img.show()




