"""simple docstring"""




from __future__ import annotations







def 							_UpperCAmelCase		(       lowerCamelCase__			,  lowerCamelCase__			,  lowerCamelCase__			,  lowerCamelCase__     ):  # noqa: E741





		"""simple docstring"""




		while r - l > 1:
				lowerCAmelCase__        =   (l + r) // 2
				if v[m] >= key:
						lowerCAmelCase__        =   m
				else:
						lowerCAmelCase__        =   m  # noqa: E741
		return r







def 							_UpperCAmelCase		(       lowerCamelCase__     ):





		"""simple docstring"""




		if len(_lowerCamelCase     ) == 0:
				return 0

		lowerCAmelCase__        =   [0] * len(_lowerCamelCase     )
		lowerCAmelCase__        =   1

		lowerCAmelCase__        =   v[0]

		for i in range(1			,  len(_lowerCamelCase     )     ):
				if v[i] < tail[0]:
						lowerCAmelCase__        =   v[i]
				elif v[i] > tail[length - 1]:
						lowerCAmelCase__        =   v[i]
						length += 1
				else:
						lowerCAmelCase__        =   v[i]

		return length


if __name__ == "__main__":
			import doctest

			doctest.testmod()





"""simple docstring"""




import pprint

import requests

__lowerCAmelCase    :							Union[str, Any]													=						"https://zenquotes.io/api"







def 							_UpperCAmelCase		(       ):





		"""simple docstring"""




		return requests.get(API_ENDPOINT_URL + """/today"""     ).json()







def 							_UpperCAmelCase		(       ):





		"""simple docstring"""




		return requests.get(API_ENDPOINT_URL + """/random"""     ).json()


if __name__ == "__main__":
			__lowerCAmelCase    :							Union[str, Any]													=						random_quotes()
			pprint.pprint(response)




