Three people each have a number card. If X is the average of the number cards of each person, the average of the number cards of two people A and B is 23 greater than X, and the average of the number cards of two people B and C is 17 less than X. The number written on B's number card was 66. Find the number written on A's number card.
66 23 2 [OP_MUL] [OP_ADD] 3 [OP_MUL] 17 23 [OP_ADD] 2 [OP_MUL] [OP_SUB] 66 2 [OP_MUL] [OP_SUB] 2 2 [OP_ADD] 3 [OP_SUB] [OP_DIV]
var_a = 66
var_b = 23
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))