def champernowne_digits(n: int) -> int:
    """Get number of digits formed by `n`-digit numbers in Champernowne constant

    Examples:
        >>> print(champernowne_digits(3))
        2889
    """
    return (10 ** n * (9 * n - 1) + 1) // 9