Ball A was carried to the top of a hill in a straight line, while ball B was carried in a longer, zigzag path. At the top of the hill, both balls were left at rest. A student draws a graph that depicts each ball's final potential energy. Which statement describes the final potential energy of the balls?

The final potential energy of both balls will be the same, since they are both at rest at the top of the hill.