






'''simple docstring'''







def       __UpperCamelCase					(      lowercase_       :  list[int]   ,       lowercase_       :  str   ):
       """simple docstring"""




       a_						     =			int(lowerCamelCase_   )

       # Initialize Result
       a_						     =			[]

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

       return answer


# Driver Code
if __name__ == "__main__":
  __lowerCAmelCase        =							[]
  __lowerCAmelCase        =							"0"

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









"""simple docstring"""







import requests

def  __SCREAMING_SNAKE_CASE		(			lowerCamelCase_:							str     ,		lowerCamelCase_:							str ):
						"""simple docstring"""






						snake_case   :			List[str]						    = {"Content-Type": "application/json"}
						snake_case   :			int						    = requests.post(lowerCamelCase_     ,		json={"text": message_body}     ,		headers=lowerCamelCase_ )
						if response.status_code != 2_0_0:
												snake_case   :			str						    = (
												    "Request to slack returned an error "
												    f'''{response.status_code}, the response is:\n{response.text}'''
												)
												raise ValueError(lowerCamelCase_ )


if __name__ == "__main__":
			# Set the slack url to the one provided by Slack when you create the webhook at
			# https://my.slack.com/services/new/incoming-webhook/
			send_slack_message('<YOUR MESSAGE BODY>', '<SLACK CHANNEL URL>')



