There is a square with a side length of 12 centimeters (cm). If the area of the new rectangle made by increasing the horizontal length of this square by 3 centimeters (cm) and reducing the vertical length by A centimeters (cm) is 120 square cm (cm2), find the value of A.
12 120 12 3 [OP_ADD] [OP_DIV] [OP_SUB]
var_a = 12
var_b = 120
var_c = 12
var_d = 3
var_e = var_c + var_d
var_f = var_b / var_e
var_g = var_a - var_f
print(int(var_g))