class Solution: def findKthNumber(self, n: int, k: int) -> int: l = sorted(map(lambda e:str(e), range(1, n+1))) return int(l[k-1])