I am a three-digit number formed by using the digits 1 to 9 once each. 1 is in the tens place and 8 is in the ones place. I'm greater than 358 and less than 684. What number am I?
1 9 1 [OP_LIST_ARANGE] 3 [OP_LIST_GET_PERM] 10 1 [OP_LIST_SEARCH_FIXED_DIGIT] 1 8 [OP_LIST_SEARCH_FIXED_DIGIT] 358 [OP_LIST_MORE] 684 [OP_LIST_LESS] 1 [OP_LIST_GET]
var_a = 1
var_b = 9
var_c = 1
list_a = [i for i in range(var_a, var_b + 1, var_c)]
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 = 10
var_f = 1
list_c = [] 
var_e = int(var_e)
var_f = int(var_f)
for i in list_b:
    i = int(i)
    if (i//var_e)%10 == var_f:
        list_c.append(i)
var_g = 1
var_h = 8
list_d = [] 
var_g = int(var_g)
var_h = int(var_h)
for i in list_c:
    i = int(i)
    if (i//var_g)%10 == var_h:
        list_d.append(i)
var_i = 358
list_e = []
for i in list_d:
    if i > var_i:
        list_e.append(i)
var_j = 684
list_f = []
for i in list_e:
    if i < var_j:
        list_f.append(i)
var_k = 1
var_l = list_f[var_k-1]
print(int(var_l))