Numbers from 1 to 5000 are written on 5000 separate slips (one number on one slip). These slips are kept in a bag and mixed well. If one slip is chosen from the bag without looking into it, then the probability that the number on the slip is a perfect square as well as a perfect cube is