



"""simple docstring"""







def  __SCREAMING_SNAKE_CASE		(			lowerCamelCase_:							list[int]     ,		lowerCamelCase_:							str ):
						"""simple docstring"""






						snake_case   :			Optional[int]						    = int(lowerCamelCase_ )

						# Initialize Result
						snake_case   :			List[str]						    = []

						# 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__":
			A		=						[]
			A		=						'0'

			if (
			    input('Do you want to enter your denominations ? (yY/n): ').strip().lower()
			    == "y"
			):
						A		=						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()))
						A		=						input('Enter the change you want to make in Indian Currency: ').strip()
			else:
						# All denominations of Indian Currency if user does not enter
						A		=						[1, 2, 5, 1_0, 2_0, 5_0, 1_0_0, 5_0_0, 2_0_0_0]
						A		=						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}: ''')
						A		=						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>')



