@@ -0,0 +1,462 @@
+import itertools%0A%0Adef read_combo(file):%0A%09return %5Bint(x) - 1 for x in file.readline().split()%5D;%0A%0Adef permute(combo, size):%0A%09return %5B%5Bx %25 size for x in permutation%5D for permutation in itertools.product(*%5Brange(v - 2, v + 3) for v in combo%5D)%5D%0A%0Afin = open('combo.in', 'r')%0Asize = int(fin.readline())%0A%0Afout = open('combo.out', 'w')%0Afout.write(str(len(set(map(tuple, permute(read_combo(fin), size) + permute(read_combo(fin), size))))) + '%5Cn')%0Afout.close()%0A%0Afin.close()

Add Python 2 and 3 solution for Nov. 2013 Bronze Problem 1