Find the earliest legitimate month.

def replace_u_start_month(month):
    """Find the earliest legitimate month."""
    month = month.lstrip('-')
    if month == 'uu' or month == '0u':
        return '01'
    if month == 'u0':
        return '10'
    return month.replace('u', '0')