




import math





def      UpperCAmelCase  (						UpperCamelCase__   )     ->     bool:







				'''simple docstring'''


				if 1 < number < 4:
								# 2 and 3 are primes
								return True
				elif number < 2 or number % 2 == 0 or number % 3 == 0:
								# Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
								return False

				# All primes number are in format of 6k +/- 1
				for i in range(5						,			int(math.sqrt(UpperCamelCase__   ) + 1   )						,			6   ):
								if number % i == 0 or number % (i + 2) == 0:
												return False
				return True





def      UpperCAmelCase  (						UpperCamelCase__ = 60_08_51_47_51_43   )     ->     int:







				'''simple docstring'''


				try:
								__lowerCAmelCase					=  int(UpperCamelCase__   )
				except (TypeError, ValueError):
								raise TypeError("""Parameter n must be int or castable to int."""   )
				if n <= 0:
								raise ValueError("""Parameter n must be greater than or equal to one."""   )
				__lowerCAmelCase					=  0
				if is_prime(UpperCamelCase__   ):
								return n
				while n % 2 == 0:
								n //= 2
				if is_prime(UpperCamelCase__   ):
								return n
				for i in range(3						,			int(math.sqrt(UpperCamelCase__   )   ) + 1						,			2   ):
								if n % i == 0:
												if is_prime(n // i   ):
																__lowerCAmelCase					=  n // i
																break
												elif is_prime(UpperCamelCase__   ):
																__lowerCAmelCase					=  i
				return max_number


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











from ..utils import DummyObject, requires_backends

class 		lowercase_       (	metaclass=lowerCAmelCase__				):
					__UpperCamelCase     	= ["torch", "transformers", "k_diffusion"]




					def __init__(   self:		Tuple,     *_lowercase:		Dict,     **_lowercase:		Optional[int]):


									'''simple docstring'''


									requires_backends(self,     ["""torch""", """transformers""", """k_diffusion"""])




					@classmethod
					def     _lowercase						(   cls:		Union[str, Any],     *_lowercase:		Union[str, Any],     **_lowercase:		Optional[int]):


									'''simple docstring'''


									requires_backends(cls,     ["""torch""", """transformers""", """k_diffusion"""])







					@classmethod
					def     _lowercase						(   cls:		List[str],     *_lowercase:		int,     **_lowercase:		List[Any]):


									'''simple docstring'''


									requires_backends(cls,     ["""torch""", """transformers""", """k_diffusion"""])





