<reponame>myarist/Codecademy
authors = "<NAME>,<NAME>,<NAME>,<NAME>,<NAME>,<NAME>,<NAME>,<NAME>,<NAME>,<NAME>,<NAME>"

author_names = authors.split(',')

print(author_names)

author_last_names = []
for name in author_names:
  author_last_names.append(name.split()[-1])
  
print(author_last_names)