def get_formatted_name(first, last, middle=''):
    """Return a full name, neatly formatted."""
    if middle:
        return first.title() + ' ' + middle.title() + ' ' + last.title()
    return first.title() + ' ' + last.title()