The correct response is:
Both balls have equal potential energy.
Potential energy is determined by an object's height above a reference point and its mass, not the path taken to reach that height. Since both balls are at the same height at the top of the hill, they will have the same potential energy regardless of the path taken.