Hyungjun used half of his ribbon and 2000 centimeters (cm) of ribbon to wrap the first box, and used half of the remaining ribbon and 2000 centimeters (cm) of ribbon to wrap the second box, but there was no ribbon left. How many centimeters (cm) is the ribbon Hyeongjun had at first?
0 2000 [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 = 2
var_e = var_c * var_d
var_f = 2000
var_g = var_e + var_f
var_h = 2
var_i = var_g * var_h
print(int(var_i))