Mom, Dad, and Grandfather bought clothes at the department store. Dad bought more clothes than Mom, and Grandfather bought more clothes than Dad. What is the order in which Dad bought the least amount of clothes?
[OP_LIST_SOL] Mom Dad Grandpa [OP_LIST_EOL] Dad [OP_LIST_INDEX]
var_a = 'Mom'
var_b = 'Dad'
var_c = 'Grandpa'
list_a= []
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_d = 'Dad'
var_e = list_a.index(var_d)+1
print(int(var_e))