Ji-woo used half of his money and 2,000 won to buy snacks at the mart. Then, he used half of the remaining money to buy chocolate, and 2,000 won and 1,000 won to buy drinks and water. How much money does Ji-woo have at first if he has no money left?
0 2000 [OP_ADD] 1000 [OP_ADD] 2 [OP_MUL] 2000 [OP_ADD] 2 [OP_MUL]
var_a = 0
var_b = 2000
var_c = var_a + var_b
var_d = 1000
var_e = var_c + var_d
var_f = 2
var_g = var_e * var_f
var_h = 2000
var_i = var_g + var_h
var_j = 2
var_k = var_i * var_j
print(int(var_k))