Lexicographically Smallest Integer