"S is a variable that represents the total number of sheets in the document, and" . . . .