Update example.import_names.py

- allow last name as only name part