The diagram shows a simple pendulum

Neglecting friction what happens to the total mechanical energy as the pendulum swings from position A to position B?
A. It increases
B. It is not conserved
C. It remains the same
D. It decreases

C. It remains the same