The average weight of the 20 male students in Eugene's class is 42 kg, and the average weight of the 20 female students is 38 kg. What is the average weight of all the students in Eugene's class in kilograms (kg)?
20 42 [OP_MUL] 20 38 [OP_MUL] [OP_ADD] 20 20 [OP_ADD] [OP_DIV]
var_a = 20
var_b = 42
var_c = var_a * var_b
var_d = 20
var_e = 38
var_f = var_d * var_e
var_g = var_c + var_f
var_h = 20
var_i = 20
var_j = var_h + var_i
var_k = var_g / var_j
print(int(var_k))