"""simple docstring"""







from __future__ import annotations
def     __UpperCAmelCase							(       UpperCAmelCase_       :							Any    )				->     Any:

	'''simple docstring'''





	__snake_case     :				int 						=					sorted(UpperCAmelCase_    )
	__snake_case     :				Union[str, Any] 						=					len(UpperCAmelCase_    )
	__snake_case     :				str 						=					length >> 1
	return (
	    (sorted_list[mid_index] + sorted_list[mid_index - 1]) / 2
	    if length % 2 == 0
	    else sorted_list[mid_index]
	)
def     __UpperCAmelCase							(       )				->     Tuple:

	'''simple docstring'''





	import doctest

	doctest.testmod()


if __name__ == "__main__":
	main()









"""simple docstring"""







import itertools
from pathlib import Path
def _A		(		lowercase						):







    """simple docstring"""
    a											=[tuple(lowercase						) for login in logins]

    a											={char for login in split_logins for char in login}

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

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

    raise Exception('''Unable to find the secret passcode'''						)
def _A		(		lowercase = "keylog.txt"						):







    """simple docstring"""
    a											=Path(lowercase						).parent.joinpath(lowercase						).read_text().splitlines()

    return find_secret_passcode(lowercase						)


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