
import itertools
from pathlib import Path

def a__   (	A_ ):






  '''simple docstring'''





  __magic_name__    					=	[tuple(A_ ) for login in logins]

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

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

    if satisfied:
      return int("""""".join(A_ ) )

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

def a__   (	A_ = "keylog.txt" ):






  '''simple docstring'''





  __magic_name__    					=	Path(A_ ).parent.joinpath(A_ ).read_text().splitlines()

  return find_secret_passcode(A_ )


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



def a__   (	A_ ):






  '''simple docstring'''





  __magic_name__    					=	str(A_ ).strip()
  if not bin_string:
    raise ValueError("""Empty string was passed to the function""" )
  __magic_name__    					=	bin_string[0] == """-"""
  if is_negative:
    __magic_name__    					=	bin_string[1:]
  if not all(char in """01""" for char in bin_string ):
    raise ValueError("""Non-binary value was passed to the function""" )
  __magic_name__    					=	0
  for char in bin_string:
    __magic_name__    					=	2 * decimal_number + int(A_ )
  return -decimal_number if is_negative else decimal_number


if __name__ == "__main__":
    from doctest import testmod

    testmod()

