Sequences on a certain condition