




from __future__ import annotations

from math import ceil, floor, sqrt







def 		lowercase__   (		__A:	int = 2_0_0_0_0_0_0				):





					'''simple docstring'''






					__magic_name__							:	list[int]    							=							[0]
					__magic_name__							:	int

					for idx in range(1							,ceil(sqrt(target * 2				) * 1.1				)				):
										triangle_numbers.append(triangle_numbers[-1] + idx				)

					# we want this to be as close as possible to target
					__magic_name__							:	int    							=							0
					# the area corresponding to the grid that gives the product closest to target
					__magic_name__							:	int    							=							0
					# an estimate of b, using the quadratic formula
					__magic_name__							:	float
					# the largest integer less than b_estimate
					__magic_name__							:	int
					# the largest integer less than b_estimate
					__magic_name__							:	int
					# the triangle number corresponding to b_floor
					__magic_name__							:	int
					# the triangle number corresponding to b_ceil
					__magic_name__							:	int

					for idx_a, triangle_a in enumerate(triangle_numbers[1:]							,1				):
										__magic_name__							:	Optional[int]    							=							(-1 + sqrt(1 + 8 * target / triangle_a				)) / 2
										__magic_name__							:	str    							=							floor(__A				)
										__magic_name__							:	Optional[int]    							=							ceil(__A				)
										__magic_name__							:	Optional[Any]    							=							triangle_numbers[b_floor]
										__magic_name__							:	Any    							=							triangle_numbers[b_ceil]

										if abs(target - triangle_b_first_guess * triangle_a				) < abs(
										    target - best_product				):
															__magic_name__							:	List[Any]    							=							triangle_b_first_guess * triangle_a
															__magic_name__							:	str    							=							idx_a * b_floor

										if abs(target - triangle_b_second_guess * triangle_a				) < abs(
										    target - best_product				):
															__magic_name__							:	Tuple    							=							triangle_b_second_guess * triangle_a
															__magic_name__							:	Union[str, Any]    							=							idx_a * b_ceil

					return area


if __name__ == "__main__":
	print(F"""{solution() = }""")









import requests







def 		lowercase__   (		__A:	str							,__A:	str				):





					'''simple docstring'''






					__magic_name__							:	Tuple    							=							{'''Content-Type''': '''application/json'''}
					__magic_name__							:	Union[str, Any]    							=							requests.post(__A							,json={'''text''': message_body}							,headers=__A				)
					if response.status_code != 2_0_0:
										__magic_name__							:	int    							=							(
										    '''Request to slack returned an error '''
										    F'''{response.status_code}, the response is:\n{response.text}'''
										)
										raise ValueError(__A				)


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>''')



