def parse_input(txt_path):
    """parse input TXT file to initial state list"""
    with open(txt_path, encoding="UTF-8") as file:
        f = file.readline()
        init_state = f.strip().split(",")
        init_state = [int(i) for i in init_state]

    return init_state