The red, yellow and blue bags contain a number of books. The total weight of the books in the three bags is 1 kilogram (kg) and 200 grams (g). If you move a 200 gram (g) book from a blue bag to a yellow bag and a 100 gram (g) book to a red bag, the books in the three bags will weigh the same. Find the sum of the weights of the books that were originally in the red bag.
1 1000 [OP_MUL] 200 [OP_ADD] 200 [OP_SUB] 100 [OP_SUB] 3 [OP_DIV]
var_a = 1
var_b = 1000
var_c = var_a * var_b
var_d = 200
var_e = var_c + var_d
var_f = 200
var_g = var_e - var_f
var_h = 100
var_i = var_g - var_h
var_j = 3
var_k = var_i / var_j
print(int(var_k))