Among the multiples of 123, there are is a number shaped162ABC6. Find the smallest of these numbers shaped like that.
1620006 1629996 1 [OP_LIST_ARANGE] 123 [OP_LIST_DIVISIBLE] 10 6 [OP_LIST_DIVIDE_AND_REMAIN] 1 [OP_LIST_MIN]
var_a = 1620006
var_b = 1629996
var_c = 1
list_a = [i for i in range(var_a, var_b + 1, var_c)]
var_d = 123
list_b = []
var_d = int(var_d)
for i in list_a:
    i = int(i)
    if i % var_d == 0:
        list_b.append(i)
var_e = 10
var_f = 6
list_c = [] 
var_e = int(var_e)
var_f = int(var_f)
if var_f < 0:
    var_f = var_f + var_e
for i in list_b:
    i = int(i)
    if i%var_e == var_f:
        list_c.append(i)
var_g = 1
list_d=list_c.copy()
list_d.sort()
var_h = list_d[var_g-1]
print(int(var_h))