Find the sum of all the numbers that are divisible by 3 and 5 when 3 different numbers, 2, 3, 5, and 7, are used to make a number less than or equal to 1000 and greater than 100.
[OP_LIST_SOL] 2 5 3 7 [OP_LIST_EOL] 3 [OP_LIST_GET_PERM] 3 [OP_LIST_DIVISIBLE] 5 [OP_LIST_DIVISIBLE] [OP_LIST_SUM]
var_a = 2
var_b = 5
var_c = 3
var_d = 7
list_a= []
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_e = 3
list_b = [str(i) for i in list_a]
list_b = list(itertools.permutations(list_b, var_e))
list_b = [''.join(num_list) for num_list in list_b]
list_b = [str_num for str_num in list_b if str_num[0] != '0']
list_b = [float(i) for i in list_b]
var_f = 3
list_c = []
var_f = int(var_f)
for i in list_b:
    i = int(i)
    if i % var_f == 0:
        list_c.append(i)
var_g = 5
list_d = []
var_g = int(var_g)
for i in list_c:
    i = int(i)
    if i % var_g == 0:
        list_d.append(i)
list_d = [float(i) for i in list_d]
var_h = sum(list_d)
print(int(var_h))