結果 : between two sets hackerrank solution in python