
'''simple docstring'''







def       snake_case_	(       __SCREAMING_SNAKE_CASE      :				int							):



						"""simple docstring"""





						lowercase_			:  Union[str, Any]									= 1
						lowercase_			:  int									= 0
						lowercase_			:  Dict									= 1
						lowercase_			:  Any									= 1
						lowercase_			:  Dict									= 3
						lowercase_			:  Optional[int]									= 3
						lowercase_			:  Union[str, Any]									= limit
						lowercase_			:  str									= 0

						lowercase_			:  Optional[Any]									= ''''''
						while counter != decimal + 1:
												if 4 * q + r - t < n * t:
																		result += str(__SCREAMING_SNAKE_CASE							)
																		if counter == 0:
																								result += "."

																		if decimal == counter:
																								break

																		counter += 1
																		lowercase_			:  List[str]									= 10 * (r - n * t)
																		lowercase_			:  Any									= ((10 * (3 * q + r)) // t) - 10 * n
																		q *= 10
																		lowercase_			:  Dict									= nr
												else:
																		lowercase_			:  Dict									= (2 * q + r) * l
																		lowercase_			:  Tuple									= (q * (7 * k) + 2 + (r * l)) // (t * l)
																		q *= k
																		t *= l
																		l += 2
																		k += 1
																		lowercase_			:  Dict									= nn
																		lowercase_			:  Optional[int]									= nr
						return result
def       snake_case_	(       ):



						"""simple docstring"""





						print(F'''{calculate_pi(50							) = }'''							)
						import doctest

						doctest.testmod()


if __name__ == "__main__":
							main()





'''simple docstring'''







def       snake_case_	(       __SCREAMING_SNAKE_CASE      :				int = 1000							):



						"""simple docstring"""





						lowercase_			:  List[Any]									= 0
						for i in range(__SCREAMING_SNAKE_CASE							):
												if i % 3 == 0 or i % 5 == 0:
																		result += i
						return result


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



