Mex of Sequence