def find_contiguous_in(output: list, error_idx: int) -> list:
    """Find contiguous set of at least two numbers with the sum."""
    nr = 2
    while True:
        for idx in range(len(output[:error_idx]) - nr):
            if sum(output[idx:idx + nr]) == output[error_idx]:
                return output[idx:idx + nr]
        nr += 1