A cookie jar contains 10 cookies of 3 types. There are 5 chocolate-chip cookies, 3 oatmeal-raisin,cookies, and 2 sugar cookies. You reach into the jar and choose a cookie at random and then, without replacing the first cookie, reach into the jar and choose another cookie at random. What is the probability that both of the cookies you choose are the same type?