The correct response is:
It remains the same.
In an ideal pendulum where friction and air resistance are not considered, the total mechanical energy (the sum of kinetic and potential energy) remains constant throughout the swing. As the pendulum moves from position A (higher potential energy, lower kinetic energy) to position B (lower potential energy, higher kinetic energy), the total mechanical energy is conserved.