


'''simple docstring'''






def     UpperCamelCase_      (   ):
  '''simple docstring'''





  for n in range(1							,   1_00_00_00 ):
    yield n * (n + 1) // 2







def     UpperCamelCase_      (   A__ :       Tuple ):
  '''simple docstring'''





  lowerCAmelCase_      :				Tuple      =       1
  lowerCAmelCase_      :				Any      =       2
  while i * i <= n:
    lowerCAmelCase_      :				Any      =       0
    while n % i == 0:
      n //= i
      multiplicity += 1
    divisors_count *= multiplicity + 1
    i += 1
  if n > 1:
    divisors_count *= 2
  return divisors_count







def     UpperCamelCase_      (   ):
  '''simple docstring'''





  return next(i for i in triangle_number_generator() if count_divisors(A__ ) > 5_00 )


if __name__ == "__main__":
  print(solution())







'''simple docstring'''






import requests







def     UpperCamelCase_      (   A__ :       str							,   A__ :       str ):
  '''simple docstring'''





  lowerCAmelCase_      :				Optional[Any]      =       {"""Content-Type""": """application/json"""}
  lowerCAmelCase_      :				Union[str, Any]      =       requests.post(A__							,   json={"""text""": message_body}							,   headers=A__ )
  if response.status_code != 2_00:
    lowerCAmelCase_      :				Dict      =       (
        """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>")



