How many common divisors of 56 and 72 are divisible by 4?
56 [OP_LIST_GET_DIVISOR] 72 [OP_LIST_GET_DIVISOR] [OP_SET_INTERSECT] 4 [OP_LIST_DIVISIBLE] [OP_LIST_LEN]
var_a = 56
list_a = []
num_sqrt = int(math.sqrt(var_a))
for i in range(1, num_sqrt+1):
    if var_a % i == 0:
        list_a.append(i)
        list_a.append(int(var_a/i))
list_a = sorted(set(list_a))
var_b = 72
list_b = []
num_sqrt = int(math.sqrt(var_b))
for i in range(1, num_sqrt+1):
    if var_b % i == 0:
        list_b.append(i)
        list_b.append(int(var_b/i))
list_b = sorted(set(list_b))
list_c = list(set(list_a) & set(list_b))
var_c = 4
list_d = []
var_c = int(var_c)
for i in list_c:
    i = int(i)
    if i % var_c == 0:
        list_d.append(i)
var_d = len(list_d)
print(int(var_d))