Following the flowchart below, if the input is $a = -1$, then the output is $S =$ A. $2$ B. $3$ C. $4$ D. $5$