from math import isqrt





def 				UpperCAmelCase						(    lowercase							):







				"""simple docstring"""



				return all(number % divisor != 0 for divisor in range(2							,			isqrt(lowercase							) + 1							)							)





def 				UpperCAmelCase						(    lowercase = 10**6							):







				"""simple docstring"""



				__lowercase 			=							0
				__lowercase 			=							1
				__lowercase 			=							7
				while prime_candidate < max_prime:
								primes_count += is_prime(lowercase							)

								cube_index += 1
								prime_candidate += 6 * cube_index

				return primes_count


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





def 				UpperCAmelCase						(    lowercase							,			lowercase							):







				"""simple docstring"""



				__lowercase 			=							{'''Content-Type''': '''application/json'''}
				__lowercase 			=							requests.post(lowercase							,			json={'''text''': message_body}							,			headers=lowercase							)
				if response.status_code != 200:
								__lowercase 			=							(
								    '''Request to slack returned an error '''
								    F"{response.status_code}, the response is:\n{response.text}"
								)
								raise ValueError(lowercase							)


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