conditional probability problem
A doctor assumes that a patient has one of three diseases d1, d2, or d3. Before any test, he assumes
an equal probability for each disease. He carries out a test that will be positive with probability 0.8 if the patient
has d1, 0.6 if he has disease d2, and 0.4 if he has disease d3. Given that the outcome of the test was positive,
what probabilities should the doctor now assign to the three possible diseases?
i know it involves the conditional probability formula but i can't figure out which numbers to use for each part. thanks!