For line segment AB with a length of 12 centimeters (cm), if point M is the midpoint of line segment AB and point N is the midpoint of line segment AM, find the length of segment NM.
12 2 [OP_DIV] 2 [OP_DIV]
var_a = 12
var_b = 2
var_c = var_a / var_b
var_d = 2
var_e = var_c / var_d
print(int(var_e))