Seokjin bought two notebooks for 500 won with the money he had and a pencil for 270 won, he finally had 230 won left. How much money did Seokjin have at first?
230 270 1 [OP_MUL] [OP_ADD] 500 2 [OP_MUL] [OP_ADD]
var_a = 230
var_b = 270
var_c = 1
var_d = var_b * var_c
var_e = var_a + var_d
var_f = 500
var_g = 2
var_h = var_f * var_g
var_i = var_e + var_h
print(int(var_i))