Sang-woo decided to share some of his 12 notebooks and 34 pencils with his friends. Sang-woo gave away several notebooks and three times as many pencils to his friends. If the total number of pencils and notebooks left is 30, find how many notebooks were distributed.
12 34 [OP_ADD] 30 [OP_SUB] 1 3 [OP_ADD] [OP_DIV]
var_a = 12
var_b = 34
var_c = var_a + var_b
var_d = 30
var_e = var_c - var_d
var_f = 1
var_g = 3
var_h = var_f + var_g
var_i = var_e / var_h
print(int(var_i))