


'''simple docstring'''
import requests


def 			_lowercase       (				UpperCamelCase__       :					Dict,				UpperCamelCase__       :					Union[str, Any]			):
 __A  :		Union[str, Any]       =			{'Content-Type': 'application/json'}
 __A  :		List[str]       =			requests.post(__snake_case,				json={'text': message_body},				headers=__snake_case			)
 if response.status_code != 200:
  __A  :		Union[str, Any]       =			(
      'Request to slack returned an error '
      f"""{response.status_code}, the response is:\n{response.text}"""
  )
  raise ValueError(__snake_case			)


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










'''simple docstring'''
from collections import defaultdict
from math import ceil, sqrt


def 			_lowercase       (				UpperCamelCase__       :					int = 1000000,				UpperCamelCase__       :					int = 10			):
 __A  :		defaultdict       =			defaultdict(UpperCamelCase__			)

 for outer_width in range(3,				(t_limit // 4) + 2			):
  if outer_width * outer_width > t_limit:
   __A  :		Optional[int]       =			max(
       ceil(sqrt(outer_width * outer_width - t_limit			)			),				1			)
  else:
   __A  :		Optional[Any]       =			1

  hole_width_lower_bound += (outer_width - hole_width_lower_bound) % 2

  for hole_width in range(UpperCamelCase__,				outer_width - 1,				2			):
   count[outer_width * outer_width - hole_width * hole_width] += 1

 return sum(1 for n in count.values() if 1 <= n <= 10			)


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






