Submitting Set Intersections

This code works fine on my computer, but gives an error on CodeEval