Yulgi and Dongmin had 5,000 won in total. Yulgi paid all the money he had, and Dongmin paid 300 won more than Yulgi to buy a doll of 4,500 won. How much money did Dongmin have at first?
5000 4500 300 [OP_SUB] 2 [OP_DIV] [OP_SUB]
var_a = 5000
var_b = 4500
var_c = 300
var_d = var_b - var_c
var_e = 2
var_f = var_d / var_e
var_g = var_a - var_f
print(int(var_g))