Eunji bought a 350 won snack at the mart with the money she had and received 800 won from her mother as an allowance. I bought a pencil with half of the remaining money, and I had 550 won left. How much money did Eunji have at first?
550 2 [OP_MUL] 800 [OP_SUB] 350 [OP_ADD]
var_a = 550
var_b = 2
var_c = var_a * var_b
var_d = 800
var_e = var_c - var_d
var_f = 350
var_g = var_e + var_f
print(int(var_g))