Result Expected [1, 1] by deleting all the numbers in the list starting with 6 and until it finds the first available 7 .