5 different boxes contain 20, 15, 18, 17, and 20 chocolates respectively. If all the chocolates are taken out of boxes containing 18 or more chocolates and put into one large box, find how many chocolates will fit in this box.
[OP_LIST_SOL] 20 15 18 17 20 [OP_LIST_EOL] 18 [OP_LIST_MORE_EQUAL] [OP_LIST_SUM]
var_a = 20
var_b = 15
var_c = 18
var_d = 17
var_e = 20
list_a= []
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_a.append(var_e)
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
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_f = 18
list_b = []
for i in list_a:
    if i >= var_f:
        list_b.append(i)
list_b = [float(i) for i in list_b]
var_g = sum(list_b)
print(int(var_g))