When creating set the y coordinate to random(minimumY, maximumY)
with minimumY being the height needed to pass underneath and maximumY being the maximum height reachable by jumping.
Instead of using many sprite-objects you could use one and just have the numbers be animationframes.
That way in the calculation you could use the framenumber.