





'''simple docstring'''






import os
from math import logaa



def        UpperCamelCase__		(						__magic_name__  :   str = "base_exp.txt"      )				->			int:
 '''simple docstring'''






 snake_case__     :					float    =  0
 snake_case__     :					Union[str, Any]    =  0
 for i, line in enumerate(open(os.path.join(os.path.dirname(__magic_name__      )		,       __magic_name__      )      )      ):
  snake_case__  ,							snake_case__     :					Tuple    =  list(map(__magic_name__		,       line.split(""","""      )      )      )
  if x * logaa(__magic_name__      ) > largest:
   snake_case__     :					Optional[Any]    =  x * logaa(__magic_name__      )
   snake_case__     :					int    =  i + 1
 return result


if __name__ == "__main__":
    print(solution())












'''simple docstring'''

def 				snake_case       (  a_				:			list[int]     , a_				:			list[int]						)							->					tuple[float, float]:





      """simple docstring"""

      if not len(a_						) == len(a_						) == 3:
            raise ValueError("""Please enter a valid equation."""						)
      if equationa[0] == equationa[1] == equationa[0] == equationa[1] == 0:
            raise ValueError("""Both a & b of two equations can't be zero."""						)

      # Extract the coefficients
      UpperCamelCase_     ,      UpperCamelCase_     ,      UpperCamelCase_					: Optional[int]            =				equationa
      UpperCamelCase_     ,      UpperCamelCase_     ,      UpperCamelCase_					: List[str]            =				equationa

      # Calculate the determinants of the matrices
      UpperCamelCase_					: Union[str, Any]            =				aa * ba - aa * ba
      UpperCamelCase_					: Dict            =				ca * ba - ca * ba
      UpperCamelCase_					: Dict            =				aa * ca - aa * ca

      # Check if the system of linear equations has a solution (using Cramer's rule)
      if determinant == 0:
            if determinant_x == determinant_y == 0:
                  raise ValueError("""Infinite solutions. (Consistent system)"""						)
            else:
                  raise ValueError("""No solution. (Inconsistent system)"""						)
      else:
            if determinant_x == determinant_y == 0:
                  # Trivial solution (Inconsistent system)
                  return (0.0, 0.0)
            else:
                  UpperCamelCase_					: List[Any]            =				determinant_x / determinant
                  UpperCamelCase_					: List[str]            =				determinant_y / determinant
                  # Non-Trivial Solution (Consistent system)
                  return (x, y)






