
'''simple docstring'''
def       _UpperCamelCase	(					SCREAMING_SNAKE_CASE__   ,					SCREAMING_SNAKE_CASE__ )     ->       List[str]:


		'''simple docstring'''


		if len(str(SCREAMING_SNAKE_CASE__ ) ) == 1 or len(str(SCREAMING_SNAKE_CASE__ ) ) == 1:
				return a * b

		snake_case     :					Dict     =	max(len(str(SCREAMING_SNAKE_CASE__ ) )   ,					len(str(SCREAMING_SNAKE_CASE__ ) ) )
		snake_case     :					Any     =	ma // 2

		snake_case     :					int     =	divmod(SCREAMING_SNAKE_CASE__   ,					10**ma )
		snake_case     :					Tuple     =	divmod(SCREAMING_SNAKE_CASE__   ,					10**ma )

		snake_case     :					Optional[int]     =	karatsuba(SCREAMING_SNAKE_CASE__   ,					SCREAMING_SNAKE_CASE__ )
		snake_case     :					Optional[int]     =	karatsuba((aa + aa)   ,					(ba + ba) )
		snake_case     :					Optional[Any]     =	karatsuba(SCREAMING_SNAKE_CASE__   ,					SCREAMING_SNAKE_CASE__ )

		return (z * 10 ** (2 * ma)) + ((y - z - x) * 10 ** (ma)) + (x)




def       _UpperCamelCase	(					)     ->       Optional[Any]:


		'''simple docstring'''


		print(karatsuba(1_5463   ,					2_3489 ) )


if __name__ == "__main__":
						main()




'''simple docstring'''
import itertools
from pathlib import Path




def       _UpperCamelCase	(					SCREAMING_SNAKE_CASE__ )     ->       int:


		'''simple docstring'''


		snake_case     :					Optional[Any]     =	[tuple(SCREAMING_SNAKE_CASE__ ) for login in logins]

		snake_case     :					Dict     =	{char for login in split_logins for char in login}

		for permutation in itertools.permutations(SCREAMING_SNAKE_CASE__ ):
				snake_case     :					Optional[int]     =	True
				for login in logins:
						if not (
						    permutation.index(login[0] )
						    < permutation.index(login[1] )
						    < permutation.index(login[2] )
						):
								snake_case     :					int     =	False
								break

				if satisfied:
						return int(''''''.join(SCREAMING_SNAKE_CASE__ ) )

		raise Exception('''Unable to find the secret passcode''' )




def       _UpperCamelCase	(					SCREAMING_SNAKE_CASE__ = "keylog.txt" )     ->       int:


		'''simple docstring'''


		snake_case     :					Optional[Any]     =	Path(SCREAMING_SNAKE_CASE__ ).parent.joinpath(SCREAMING_SNAKE_CASE__ ).read_text().splitlines()

		return find_secret_passcode(SCREAMING_SNAKE_CASE__ )


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


