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