The correct option is A and on S2 are same and non zero
Using energy balance we see that potential energy which only depends on the height changes to kinetic energy at the bottom. Thus the work done in both the cases is same. If friction were present work done would have been different.