After the train departed, 29 people got off at the first station 17 people got on. At the second station, 27 people got off and 35 got on. There are 116 people on the train right now. How many people were on the train when it first departed?
116 29 [OP_ADD] 17 [OP_SUB] 27 [OP_ADD] 35 [OP_SUB]
var_a = 116
var_b = 29
var_c = var_a + var_b
var_d = 17
var_e = var_c - var_d
var_f = 27
var_g = var_e + var_f
var_h = 35
var_i = var_g - var_h
print(int(var_i))