def sympy_parse(input_string: str) -> Any:
    """
    Parsing strings into mathematical expressions using sympy
    """
    for f in [parse_latex, parse_expr]:
        try:
            return f(input_string)
        except:
            pass
    return input_string

    Parsing strings into mathematical expressions using sympy
    
envs/rstar/eval_src/toolkit_for_MATH/latex_answer_check.py