<image>In the sequence of shapes constructed with small sticks below, the nth shape is composed of n squares. Please write the function relation S representing the number of small sticks in the nth shape with respect to n. 

