結果 : lexicographically smallest string hackerrank solution python