What is the difference between the largest number and the third smallest number possible when forming a number greater than or equal to 100 and less than 1000 with using odd numbers less than or equal to 5 only once?
0 5 [OP_LIST_ODD] 3 [OP_LIST_GET_PERM] 1 [OP_LIST_MAX] 3 [OP_LIST_MIN] [OP_SUB]
var_a = 0
var_b = 5
list_a = []
if var_a%2==0:
    for i in range(var_a+1, var_b+1, 2):
        list_a.append(i)
else:
    for i in range(var_a, var_b+1, 2):
        list_a.append(i)
var_c = 3
list_b = [str(i) for i in list_a]
list_b = list(itertools.permutations(list_b, var_c))
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_d = 1
list_c=list_b.copy()
list_c.sort()
var_e = list_c[-var_d]
var_f = 3
list_d=list_b.copy()
list_d.sort()
var_g = list_d[var_f-1]
var_h = var_e - var_g
print(int(var_h))