At the top of its ascent, the ball has potential energy equal to
(its weight) times (the height of its ascent) .
If we knew either of those quantities, then we could give you
a number for its potential energy. But the question has no
given information.