In a lottery, two numbers are drawn at random with replacement from the integers 1 through 1000. What is the probability of the following events?

Event A: The number 8 is picked on both draws.
Event B: The same number is picked on both draws.