Sequence switching

In reply to krishnachaudhary:

You need to fill in more details. How are first 5 (or whatever number) sequences selected? Do you mean there are a total of exactly 200 sequences; 100 of each type? If yes, that means the first 5 sequences need to be selected in such a way that leaves the remaining sequences balanced between types.