There is a train from Seoul to Busan. 300 people got off more than two-fifths of the first stop at the first stop, and 200 people got off less than half of the remaining people at the second stop. If the rest of the people got off at Busan and the total number of people who got off at Busan was 800, how many people got on at first?
800 200 [OP_SUB] 1 1/2 [OP_SUB] [OP_DIV] 300 [OP_ADD] 1 2 5 [OP_DIV] [OP_SUB] [OP_DIV]
var_a = 800
var_b = 200
var_c = var_a - var_b
var_d = 1
var_e = 0.5
var_f = var_d - var_e
var_g = var_c / var_f
var_h = 300
var_i = var_g + var_h
var_j = 1
var_k = 2
var_l = 5
var_m = var_k / var_l
var_n = var_j - var_m
var_o = var_i / var_n
print(int(var_o))