distinct subseuquence