<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def starts_one_ends(n):
    """ Given a positive integer n, return the count of the numbers of n-digit positive integers that start or end with 1. """
    if n == 1: return 1
    return 18 * (10 ** (n - 2))
