The algorithm flowchart on the right is based on the ``Mutual Subtraction for Reduction'' method from the ancient Chinese mathematical classic ``The Nine Chapters on the Mathematical Art''. When executing this flowchart with inputs $a, b$ equal to 14 and 18 respectively, the output value of $a$ is
A. $0$
B. $2$
C. $4$
D. $14$