Gyeongyeon rides a bicycle for half of the entire route, travels another 300 meters (m), rides a bus to travel half of the remaining route, and then travels another 400 meters (m) before arriving at his destination. Find how many meters (m) is the total path traveled by Gyeongyeon.
0 400 [OP_ADD] 1 1/2 [OP_SUB] [OP_DIV] 300 [OP_ADD] 1 1/2 [OP_SUB] [OP_DIV]
var_a = 0
var_b = 400
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 = 0.5
var_l = var_j - var_k
var_m = var_i / var_l
print(int(var_m))