Consider a finite sequence consisting of 0s and 1s that satisfies the following conditions: (1) If any 5 consecutive numbers are taken from the sequence, and any other 5 consecutive numbers are taken from a different position in the sequence, then these two groups of 5 numbers will be different (the two groups can partially overlap, e.g., in the sequence 0110101). (2) If a 0 or 1 is added to the right end of the sequence, property (1) no longer holds. Prove that the first 4 terms of the sequence are identical to the last 4 terms.