Nine weights of the same weight weigh a total of 4.5 kilograms (kg). Two of these weights and several pencil cases that weigh 850 grams (g) each were placed on one side of a pan balance scale, and five dictionaries that weigh 1050 grams (g) each were placed on the other side, and they were level. How many pencil cases are there?
1050 5 [OP_MUL] 4.5 1000 [OP_MUL] 9 [OP_DIV] 2 [OP_MUL] [OP_SUB] 850 [OP_DIV]
var_a = 1050
var_b = 5
var_c = var_a * var_b
var_d = 4.5
var_e = 1000
var_f = var_d * var_e
var_g = 9
var_h = var_f / var_g
var_i = 2
var_j = var_h * var_i
var_k = var_c - var_j
var_l = 850
var_m = var_k / var_l
print(int(var_m))