You have 2 purple candies, 1 white candy, and 1 red candy. If candies of the same color are indistinguishable from each other, how many different ways can you place 4 different candies in a row?
2 1 [OP_ADD] 1 [OP_ADD] 2 1 [OP_ADD] 1 [OP_ADD] [OP_PERM] 2 [OP_DIV]
var_a = 2
var_b = 1
var_c = var_a + var_b
var_d = 1
var_e = var_c + var_d
var_f = 2
var_g = 1
var_h = var_f + var_g
var_i = 1
var_j = var_h + var_i
var_k = 1
var_e = int(var_e)
var_j = int(var_j)
for i, elem in enumerate(range(var_j)):
    var_k = var_k * (var_e-i)
var_l = 2
var_m = var_k / var_l
print(int(var_m))