def parse_yuliya_output(stdout):
    for line in stdout.splitlines():
        stripped = line.strip()

        if stripped in ["Answer: 1", "No Answer Set"]:
            return stripped

    return None
dataset/ETHPy150Open borg-project/borg/borg/domains/asp/solvers.py/parse_yuliya_output/original