Daeyoung bought 8 materials in total, including an eraser of 300 won and a pencil of 500 won. If he paid 3,000 won, how many pencils did Daeyoung buy?
3000 300 8 [OP_MUL] [OP_SUB] 500 300 [OP_SUB] [OP_DIV]
var_a = 3000
var_b = 300
var_c = 8
var_d = var_b * var_c
var_e = var_a - var_d
var_f = 500
var_g = 300
var_h = var_f - var_g
var_i = var_e / var_h
print(int(var_i))