Taehyung and Namjoon bought 10 pencils each. Taehyung used some of the pencils and gave 3 of the remaining pencils to Namjoon, and Namjoon also used a few, too. Than the two of them had 6 pencils each. Find how many pencils Namjoon used.
10 6 3 [OP_SUB] [OP_SUB]
var_a = 10
var_b = 6
var_c = 3
var_d = var_b - var_c
var_e = var_a - var_d
print(int(var_e))