#original seq: accgttac #required output: acc #first substring ccg cgt tta tac #fifth substring