The average number of books the three had was 23 fewer than the average of the first and second persons, and 17 more than the average of the second and third persons. If the second person has 66 books, find the sum of the number of books the first person and the third person have.
66 23 [OP_SUB] 17 [OP_ADD] 2 3 [OP_DIV] 66 [OP_MUL] [OP_SUB] 2 3 [OP_DIV] 1 2 [OP_DIV] [OP_SUB] [OP_DIV]
var_a = 66
var_b = 23
var_c = var_a - var_b
var_d = 17
var_e = var_c + var_d
var_f = 2
var_g = 3
var_h = var_f / var_g
var_i = 66
var_j = var_h * var_i
var_k = var_e - var_j
var_l = 2
var_m = 3
var_n = var_l / var_m
var_o = 1
var_p = 2
var_q = var_o / var_p
var_r = var_n - var_q
var_s = var_k / var_r
print(int(eval('{:.2f}'.format(round(var_s+1e-10,2)))))