This is what I need to do:
If the intersection of these two lists has 1 element do “ABC” using element m and print out whatever.
If the intersection of these two lists has 2 elements do “XYZ” using element m, and print out whatever, then do “XYZ” using element n and print out whatever.
If the intersection of these two lists has 3 elements do “XYZ” using element m, and print out whatever, then do “XYZ” using element n and print out whatever, then do “XYZ” using element p and print out whatever.
If the intersection of these two lists had 4 elements do “XYZ” using element m and print out whatever, then do “XYZ” using element n and print out whatever, then do “XYZ” using element p and print out whatever, then do “XYZ” using element q and print out whatever.
I can do the ABC and XYZ part but I need to know how to have each element go through the process and print out the result each time.