


import torch






def 		lowercase_(  ):


  '''simple docstring'''

  if torch.cuda.is_available():
    lowerCamelCase :					List[Any]    =				torch.cuda.device_count()
  else:
    lowerCamelCase :					Any    =				0
  print(f"""Successfully ran on {num_gpus} GPUs"""	)


if __name__ == "__main__":
   main()










"""simple docstring"""




from decimal import Decimal, getcontext
from math import ceil, factorial






def       _SCREAMING_SNAKE_CASE		(	_lowercase						:    int					) ->str:






	'''simple docstring'''






	if not isinstance(_lowercase    ,       _lowercase					):
		raise TypeError("Undefined for non-integers"					)
	elif precision < 1:
		raise ValueError("Undefined for non-natural numbers"					)

	a      :		Tuple	=				precision
	a      :		str	=				ceil(precision / 14					)
	a      :		List[Any]	=				42_6880 * Decimal(1_0005					).sqrt()
	a      :		Union[str, Any]	=				1
	a      :		Dict	=				1359_1409
	a      :		Optional[int]	=				Decimal(_lowercase					)
	for k in range(1    ,       _lowercase					):
		a      :		int	=				factorial(6 * k					) // (factorial(3 * k					) * factorial(_lowercase					) ** 3)
		linear_term += 5_4514_0134
		exponential_term *= -26_2537_4126_4076_8000
		partial_sum += Decimal(multinomial_term * linear_term					) / exponential_term
	return str(constant_term / partial_sum					)[:-1]


if __name__ == "__main__":
		a						: Optional[Any]     	=			50
		print(F'''The first {n} digits of pi is: {pi(n)}''')


