Dong-jin bought a bag of tangerines with 1/2 of his money. He gave 3/8 of the money left over from buying tangerines to his younger brother. If Dong-jin's current money is 2,500 won, how much is the tangerine he bought per bag?
2500 1 3/8 [OP_SUB] [OP_DIV] 1/2 [OP_DIV] 1/2 [OP_MUL]
var_a = 2500
var_b = 1
var_c = 0.375
var_d = var_b - var_c
var_e = var_a / var_d
var_f = 0.5
var_g = var_e / var_f
var_h = 0.5
var_i = var_g * var_h
print(int(var_i))