A contact list was exported from an old app. Each line should hold a name and an email, separated by a comma, but everything is messy.
Task: write clean_contacts(lines) that returns a list of tidy contacts, each in the form "Name <email>".
For each line:
Keep the contacts in their original order. An empty list gives [].
Once your code passes every test, a reference solution shows up here so you can compare it with yours.