def find_unsaticefied(recipe, likes):
    """
    Find an unsaticefied customer index (0-based).
    Returns -1 if all customers can be saticefied.
    """
    for i,like in enumerate(likes):
        for x in like:
            if recipe[x[0]-1] == x[1]:
                break
        else:
            return i
    return -1