List all names from both batches keeping duplicates (Ravi appears twice in A).
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.