A red ball, blue ball, yellow ball and a green ball are in the box. The total number of these balls is 531, and the sum of the red and blue balls is 31 more than the sum of the yellow and green balls. Also, if there are 22 more yellow balls than green balls, how many yellow balls are there?
531 31 [OP_SUB] 2 [OP_DIV] 22 [OP_SUB] 2 [OP_DIV] 22 [OP_ADD]
var_a = 531
var_b = 31
var_c = var_a - var_b
var_d = 2
var_e = var_c / var_d
var_f = 22
var_g = var_e - var_f
var_h = 2
var_i = var_g / var_h
var_j = 22
var_k = var_i + var_j
print(int(var_k))