There are five cuboids each with a height of 4 centimeters (cm), 7 centimeters (cm), 6 centimeters (cm), 9 centimeters (cm), and 2 centimeters (cm), and with a base area of 10 square centimeters (cm2). How many of these cuboids have a volume of 50 cubic centimeters (cm3) or less?
[OP_LIST_SOL] 4 7 6 9 2 [OP_LIST_EOL] 50 10 [OP_DIV] [OP_LIST_LESS_EQUAL] [OP_LIST_LEN]
var_a = 4
var_b = 7
var_c = 6
var_d = 9
var_e = 2
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 = 50
var_g = 10
var_h = var_f / var_g
list_b = []
for i in list_a:
    if i <= var_h:
        list_b.append(i)
var_i = len(list_b)
print(int(var_i))