Simple python solution
\n# Code\n\nclass Solution:\n    def getNoZeroIntegers(self, n: int) -> List[int]:\n        pow_ = a = b = 0\n\n        while n > 0:\n            n, m = divmod(
\n# Code\n```\nclass Solution:\n    def getNoZeroIntegers(self, n: int) -> List[int]:\n        pow_ = a = b = 0\n\n        while n > 0:\n            n, m = divmod(n, 10)\n            if m < 2 and n > 0:\n                m += 10\n                n -= 1\n            \n            a += min(9, m - 1) * 10 ** pow_\n            b += max(m - 9, 1) * 10 ** pow_\n            pow_ += 1\n\n        return a, b\n```
['Python3']