Gamin is doing an activity to express a three-digit number by arranging robots with numbers written on them in a row. The robots with 2, 3, and 5 made the largest possible number, and the robots with 4, 0, and 6 made the smallest possible number. Find the value of difference between the two numbers.
[OP_LIST_SOL] 2 3 5 [OP_LIST_EOL] 3 [OP_LIST_GET_PERM] 1 [OP_LIST_MAX] [OP_LIST_SOL] 4 0 6 [OP_LIST_EOL] 3 [OP_LIST_GET_PERM] 1 [OP_LIST_MIN] [OP_SUB]
var_a = 2
var_b = 3
var_c = 5
list_a= []
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_d = 3
list_b = [str(i) for i in list_a]
list_b = list(itertools.permutations(list_b, var_d))
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_e = 1
list_c=list_b.copy()
list_c.sort()
var_f = list_c[-var_e]
var_g = 4
var_h = 0
var_i = 6
list_d= []
if "/" in str(var_i):
    var_i = eval(str(var_i))
list_d.append(var_i)
if "/" in str(var_h):
    var_h = eval(str(var_h))
list_d.append(var_h)
if "/" in str(var_g):
    var_g = eval(str(var_g))
list_d.append(var_g)
list_d.reverse()
var_j = 3
list_e = [str(i) for i in list_d]
list_e = list(itertools.permutations(list_e, var_j))
list_e = [''.join(num_list) for num_list in list_e]
list_e = [str_num for str_num in list_e if str_num[0] != '0']
list_e = [float(i) for i in list_e]
var_k = 1
list_f=list_e.copy()
list_f.sort()
var_l = list_f[var_k-1]
var_m = var_f - var_l
print(int(var_m))