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