



from __future__ import annotations

import math
import random





def     __lowerCamelCase							(   __magic_name__						:	int  ,			__magic_name__						:	int  ,			__magic_name__						:	int    ):
							a__:							Tuple									=d * e - 1
							a__:							Union[str, Any]									=0
							a__:							Optional[int]									=0
							while p == 0:
														a__:							Union[str, Any]									=random.randint(2  ,			n - 1    )
														a__:							int									=k
														while True:
																					if t % 2 == 0:
																												a__:							Tuple									=t // 2
																												a__:							Dict									=(g**t) % n
																												a__:							Optional[Any]									=math.gcd(x - 1  ,			UpperCAmelCase_    )
																												if x > 1 and y > 1:
																																			a__:							List[str]									=y
																																			a__:							List[str]									=n // y
																																			break  # find the correct factors
																					else:
																												break  # t is not divisible by 2, break and choose another g
							return sorted([p, q]    )


if __name__ == "__main__":
		import doctest

		doctest.testmod()






"""simple docstring"""







def     __UpperCAmelCase							(       UpperCAmelCase_       :							str    )				->     str:

	'''simple docstring'''





	return " ".join(sorted(set(sentence.split()    )    )    )


if __name__ == "__main__":
	import doctest

	doctest.testmod()





