Given in the question, Sn denotes the sum of the cubes of the first n natural numbers.
sn denotes the sum of the first n natural numbers.
Note:

Sn denotes the sum of the cubes of the first n natural numbers. (Given data in the question).

sn denotes the sum of the first n natural numbers.
