An analogy that may help to relate with the question :
Say we are living in an area where it rains everyday (Event A) and there are two groups of day MWF and TTS (Just assume that Sunday doesn't exist at all). Let Event B be that the chosen day is one amongst MWF. Clearly the event A has probability of 1 and probability of event B is 1/2.
Now the question can be interpreted as :
P(A|B) = Given that the day chosen is among MWF, probability of raining ?
Since it is raining no matter what, therefore the probability of this part is 1.
P(B|A) = Given that it is raining, probability that the day is one of MWF ?
Since it rains on all days, the probability that the randomly chosen day is one amongst MWF is 3/6 or 1/2.