What type of energy does the pendulum of a clock have when it is at the top of a swing?

1