def create_pair(n):
    """
    Create a pair of n-digit integers, from 1-up and from 9-down.
    """
    one = 0
    two = 0
    up = 1
    down = 9
    num_digits = 0
    while num_digits < n:
        one = 10 * one + up
        two = 10 * two + down
        up += 1
        if up == 10:
            up = 1
        down -= 1
        if down == 0:
            down = 9
        num_digits += 1
    return [one, two]