Three people A, B, and C have books. The average number of books owned by the three people is 23 fewer than the average of the books owned by two people A and B, and 17 more than the average number of books owned by B and C. If B has 66 books, how many books does C have?
66 17 2 [OP_MUL] [OP_SUB] 3 [OP_MUL] 17 23 [OP_ADD] 2 [OP_MUL] [OP_ADD] 66 2 [OP_MUL] [OP_SUB] 2 2 [OP_ADD] 3 [OP_SUB] [OP_DIV]
var_a = 66
var_b = 17
var_c = 2
var_d = var_b * var_c
var_e = var_a - var_d
var_f = 3
var_g = var_e * var_f
var_h = 17
var_i = 23
var_j = var_h + var_i
var_k = 2
var_l = var_j * var_k
var_m = var_g + var_l
var_n = 66
var_o = 2
var_p = var_n * var_o
var_q = var_m - var_p
var_r = 2
var_s = 2
var_t = var_r + var_s
var_u = 3
var_v = var_t - var_u
var_w = var_q / var_v
print(int(var_w))