Initially, we pick any pair of islands A and B which are connected by a ferry route and put A in set A and B in set B. From the condition, without loss of generality there must be another island which is connected to A. We put such an island C in set B. We say that two sets of islands form a network if each island in one set is connected to each island in the other set.
Next, we shall include all islands to A∪B one by one. Suppose we have two sets A and B which form a network where 3⩽∣A∪B∣<n. This relation no longer holds only when a ferry route between islands A∈A and B∈B is closed. In that case, we define A′={A,B}, and B′=(A∪B)−{A,B}. Note that B′ is nonempty. Consider any island C∈A−{A}. From the relation of A and B, we know that C is connected to B. If C was not connected to A before the route between A and B closes, then there will be a route added between C and A afterwards. Hence, C must now be connected to both A and B. The same holds true for any island in B−{B}. Therefore, A′ and B′ form a network, and A′∪B′=A∪B. Hence these islands can always be partitioned into sets A and B which form a network.
As ∣A∪B∣<n, there are some islands which are not included in A∪B. From the condition, after some years there must be a ferry route between an island A in A∪B and an island D outside A∪B which closes. Without loss of generality assume A∈A. Then each island in B must then be connected to D, no matter it was or not before. Hence, we can put D in set A so that the new sets A and B still form a network and the size of A∪B is increased by 1. The same process can be done to increase the size of A∪B. Eventually, all islands are included in this way so we may now assume ∣A∪B∣=n.
Suppose a ferry route between A∈A and B∈B is closed after some years. We put A and B in set A′ and all remaining islands in set B′. Then A′ and B′ form a network. This relation no longer holds only when a route between A, without loss of generality, and C∈B′ is closed. Since this must eventually occur, at that time island B will be connected to all other islands and the result follows.