Reverse names:

Enter a list of names with first name first, one per line: