Wooyoung spent 200 won more than half of the money he had at the first store and 300 won more than half of the remaining money at the second store, and was left with 350 won. How much money did Wooyoung have at first?
350 300 [OP_ADD] 1 1/2 [OP_SUB] [OP_DIV] 200 [OP_ADD] 1 1/2 [OP_SUB] [OP_DIV]
var_a = 350
var_b = 300
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 = 200
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))