What is the probability of selecting a number at random from the numbers 1 to 24 that is not divisible by 3?