Two different natural numbers, A and 24, are either factors or multiples of each other. Find the third number from the left when the two-digit numbers corresponding to A are organized in ascending order.
24 [OP_LIST_GET_DIVISOR] 24 99 24 [OP_LIST_ARANGE] [OP_SET_UNION] 10 [OP_LIST_MORE_EQUAL] 3 [OP_LIST_MIN]
var_a = 24
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 = 24
var_c = 99
var_d = 24
list_b = [i for i in range(var_b, var_c + 1, var_d)]
list_c = list(set(list_a) | set(list_b))
var_e = 10
list_d = []
for i in list_c:
    if i >= var_e:
        list_d.append(i)
var_f = 3
list_e=list_d.copy()
list_e.sort()
var_g = list_e[var_f-1]
print(int(var_g))