


def  __lowerCAmelCase					(SCREAMING_SNAKE_CASE = 1      ,      SCREAMING_SNAKE_CASE = 1000      )->						int:




      """simple docstring"""

      snake_case_ =   1
      snake_case_ =   0

      for divide_by_number in range(SCREAMING_SNAKE_CASE      ,      digit + 1      ):
            snake_case_ =   []
            snake_case_ =   numerator
            for _ in range(1      ,      digit + 1      ):
                  if now_divide in has_been_divided:
                        if longest_list_length < len(SCREAMING_SNAKE_CASE      ):
                              snake_case_ =   len(SCREAMING_SNAKE_CASE      )
                              snake_case_ =   divide_by_number
                  else:
                        has_been_divided.append(SCREAMING_SNAKE_CASE      )
                        snake_case_ =   now_divide * 10 % divide_by_number

      return the_digit


# Tests
if __name__ == "__main__":
   import doctest

   doctest.testmod()



import requests






def  __lowerCAmelCase					(SCREAMING_SNAKE_CASE      ,      SCREAMING_SNAKE_CASE      )->						None:




      """simple docstring"""

      snake_case_ =   {'''Content-Type''': '''application/json'''}
      snake_case_ =   requests.post(SCREAMING_SNAKE_CASE      ,      json={'''text''': message_body}      ,      headers=SCREAMING_SNAKE_CASE      )
      if response.status_code != 200:
            snake_case_ =   (
                '''Request to slack returned an error '''
                f'''{response.status_code}, the response is:\n{response.text}'''
            )
            raise ValueError(SCREAMING_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>""")